nitweb: remove useless links on locations
authorAlexandre Terrasa <alexandre@moz-code.org>
Thu, 25 Aug 2016 20:36:52 +0000 (16:36 -0400)
committerAlexandre Terrasa <alexandre@moz-code.org>
Mon, 5 Dec 2016 16:00:56 +0000 (11:00 -0500)
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>

share/nitweb/directives/entity/location.html

index 7e817c6..05f8ccb 100644 (file)
@@ -1,5 +1,4 @@
-<span ng-if='mentity.location'>
-       <a ng-href="{{mentity.web_url}}">{{mentity.location.file}}
-               <span ng-if='mentity.location.line_start'>:{{mentity.location.line_start}}</span>
-       </a>
+<span ng-if='mentity.location' class='text-muted'>
+       {{mentity.location.file}}
+       <span ng-if='mentity.location.line_start'>:{{mentity.location.line_start}}</span>
 </span>