nitweb: migrate frontend to new json/commands
[nit.git] / share / nitweb / directives / entity / location.html
index 05f8ccb..8e058fc 100644 (file)
@@ -1,4 +1,3 @@
-<span ng-if='mentity.location' class='text-muted'>
-       {{mentity.location.file}}
-       <span ng-if='mentity.location.line_start'>:{{mentity.location.line_start}}</span>
+<span class='text-muted'>
+       {{vm.loc.file}}<span ng-if='vm.loc.line_start'>:{{vm.loc.line_start}}</span>
 </span>