Skip to content
This repository has been archived by the owner on Apr 6, 2022. It is now read-only.

Commit

Permalink
[FIXED JENKINS-13491] Center the affected source line in source view.
Browse files Browse the repository at this point in the history
  • Loading branch information
uhafner committed Apr 27, 2012
1 parent 5e7a30e commit e779c1a
Showing 1 changed file with 2 additions and 7 deletions.
@@ -1,5 +1,5 @@
<j:jelly xmlns:j="jelly:core" xmlns:st="jelly:stapler" xmlns:d="jelly:define"
xmlns:l="/lib/layout" xmlns:t="/lib/hudson" xmlns:f="/lib/form"
xmlns:l="/lib/layout" xmlns:t="/lib/hudson" xmlns:f="/lib/form" xmlns:u="/util"
xmlns:i="jelly:fmt" xmlns:local="local">
<st:header name="Content-Type" value="text/html;charset=UTF-8" />
<table class="pane sortable" id="warnings">
Expand All @@ -22,12 +22,7 @@
<tr>
<td class="pane">
<div tooltip="${warning.message}">
<j:choose>
<j:when test="${warning.canDisplayFile(it.owner)}">
<a href="source.${warning.key}/#${warning.primaryLineNumber}">${warning.shortFileName}</a>
</j:when>
<j:otherwise>${warning.shortFileName}</j:otherwise>
</j:choose>
<u:sourceLink it="${it}" warning="${warning}"/>
</div>
</td>
<j:if test="${it.container.modules.size() > 1}">
Expand Down

0 comments on commit e779c1a

Please sign in to comment.