Skip to content

Commit

Permalink
Link username to user tests from tests_view page
Browse files Browse the repository at this point in the history
  • Loading branch information
linrock authored and ppigazzini committed Sep 6, 2020
1 parent 2dc80dc commit aa74b63
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions fishtest/fishtest/templates/tests_view.mak
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,13 @@
%if len(arg[2]) == 0:
<tr>
<td>${arg[0]}</td>
%if arg[0] == 'username' and approver:
<td><a href="/user/${arg[1]}">${arg[1]}</a></td>
%if arg[0] == 'username':
<td>
<a href="/tests/user/${arg[1]}">${arg[1]}</a>
%if approver:
(<a href="/user/${arg[1]}">user admin</a>)
%endif
</td>
%elif arg[0] == 'spsa':
<td>
${arg[1][0]}<br />
Expand Down

0 comments on commit aa74b63

Please sign in to comment.