Fix absolute href

Some worklists links use absolute uri which doesn't work when the webclient
is available through a subpath. This fixes those links by removing the first /

Change-Id: I64c9c8abe479ea44969d6cd9b4c5cf0b38c5c8b3
This commit is contained in:
Tristan Cacqueray 2016-12-06 00:45:19 +00:00
parent 6936457b52
commit aec8c13f60
3 changed files with 4 additions and 4 deletions

View File

@ -356,7 +356,7 @@
<div as-sortable-item-handle>
<span ng-if="!lane.worklist.editing">
<a ng-class="{'kanban-lane-title': !!lane.worklist.title}"
href="/#!/worklist/{{lane.worklist.id}}">
href="#!/worklist/{{lane.worklist.id}}">
{{ lane.worklist.title }}
</a>
<a href ng-click="editWorklist(lane.worklist)">
@ -389,7 +389,7 @@
ng-if="!lane.worklist.archived"
ng-class="{'kanban-lane-automatic': lane.worklist.automatic}">
<a class="kanban-lane-title"
href="/#!/worklist/{{lane.worklist.id}}">
href="#!/worklist/{{lane.worklist.id}}">
{{ lane.worklist.title }}
</a>
<div ng-include src="'app/boards/template/board_contents/kanban_lane_contents.html'"

View File

@ -286,7 +286,7 @@
<tbody>
<tr ng-repeat="worklist in worklists.slice(0, 5)">
<td>
<a href="/#!/worklist/{{worklist.id}}">{{worklist.title}}</a>
<a href="#!/worklist/{{worklist.id}}">{{worklist.title}}</a>
<span class="text-muted pull-right" ng-show="worklist.automatic">
(automatic)
</span>

View File

@ -9,7 +9,7 @@
<tbody>
<tr ng-repeat="worklist in worklists">
<td>
<a href="/#!/worklist/{{worklist.id}}">{{worklist.title}}</a>
<a href="#!/worklist/{{worklist.id}}">{{worklist.title}}</a>
<span class="text-muted pull-right" ng-show="worklist.automatic">
(automatic)
</span>