]> source.dussan.org Git - sonarqube.git/commitdiff
collapse paths in the coverage popup
authorStas Vilchik <vilchiks@gmail.com>
Mon, 13 Apr 2015 14:29:32 +0000 (16:29 +0200)
committerStas Vilchik <vilchiks@gmail.com>
Mon, 13 Apr 2015 14:29:32 +0000 (16:29 +0200)
server/sonar-web/src/main/hbs/source-viewer/source-viewer-coverage-popup.hbs

index c30e1f500a928d58bd6193c4778aed29c4b85ab7..ba32f569ff277d35cca59be4c3d88a1da926b1bf 100644 (file)
@@ -16,7 +16,7 @@
   {{#each testFiles}}
     <div class="bubble-popup-section">
       <a class="component-viewer-popup-test-file link-action" data-uuid="{{file.uuid}}" title="{{file.longName}}">
-        {{file.longName}}
+        <span>{{collapsedDirFromPath file.longName}}</span><span class="component-name-file">{{fileFromPath file.longName}}</span>
       </a>
       <ul class="bubble-popup-list">
         {{#each tests}}