Skip to content

Commit

Permalink
Improve link for stats box
Browse files Browse the repository at this point in the history
  • Loading branch information
gschueler committed Jul 10, 2013
1 parent bae827a commit b822054
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions rundeckapp/grails-app/views/scheduledExecution/_showStats.gsp
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,12 @@

</td>
<td class="statvalue">
by <span class="username">${lastrun.user}</span>,
<g:link action="show" controller="execution" id="${lastrun.id}" title="View execution output">
by <span class="username"><g:username user="${lastrun.user}"/></span>,
<span class="when">
<g:relativeDate elapsed="${lastrun.dateCompleted}"/>
</span>
</td>
<td style="width:12px">
<g:link action="show" controller="execution" id="${lastrun.id}" title="View execution output"><img
<img
src="${resource(dir: 'images', file: 'icon-tiny-' + (lastrun?.status == 'true' ? 'ok' : 'warn') + '.png')}"
alt="" width="12px" height="12px"/></g:link>
</td>
Expand Down Expand Up @@ -54,4 +53,4 @@
</td>
</tr>
</table>
</div>
</div>

0 comments on commit b822054

Please sign in to comment.