Skip to content

Commit

Permalink
chore: Prepare for sunset icon removal from core
Browse files Browse the repository at this point in the history
  • Loading branch information
NotMyFault committed Jan 25, 2022
1 parent 849257a commit b27ce51
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
8 changes: 4 additions & 4 deletions src/main/resources/hudson/model/ExternalJob/sidepanel.jelly
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,15 @@ THE SOFTWARE.
Side panel for the build view.
-->
<?jelly escape-by-default='true'?>
<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:i="jelly:fmt" xmlns:p="/lib/hudson/project">
<j:jelly xmlns:j="jelly:core" xmlns:st="jelly:stapler" xmlns:l="/lib/layout" xmlns:p="/lib/hudson/project">
<l:header title="${it.name}">
<st:include page="rssHeader.jelly" />
</l:header>
<j:set var="url" value="${h.getNearestAncestorUrl(request,it)}"/>
<l:side-panel>
<l:tasks>
<l:task icon="images/24x24/up.png" href="${rootURL}/" title="${%Back to Dashboard}" />
<l:task icon="images/24x24/search.png" href="." title="${%Status}" />
<l:task icon="icon-up icon-md" href="${rootURL}/" title="${%Back to Dashboard}" />
<l:task icon="icon-search icon-md" href="." title="${%Status}" />
<p:configurable/>
<st:include page="actions.jelly" />
</l:tasks>
Expand All @@ -43,4 +43,4 @@ THE SOFTWARE.
<st:include it="${w}" page="index.jelly" />
</j:forEach>
</l:side-panel>
</j:jelly>
</j:jelly>
14 changes: 7 additions & 7 deletions src/main/resources/hudson/model/ExternalRun/sidepanel.jelly
Original file line number Diff line number Diff line change
Expand Up @@ -26,22 +26,22 @@ THE SOFTWARE.
Side panel for the build view.
-->
<?jelly escape-by-default='true'?>
<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:i="jelly:fmt">
<j:jelly xmlns:j="jelly:core" xmlns:st="jelly:stapler" xmlns:l="/lib/layout">
<l:header title="${it.fullDisplayName}" />
<l:side-panel>
<l:tasks>
<l:task icon="images/24x24/up.png" href="${rootURL}/${it.parent.url}" title="${%Back to Job}" contextMenu="false"/>
<l:task icon="images/24x24/terminal.png" href="." title="${%Console Output}" />
<l:task icon="icon-up icon-md" href="${rootURL}/${it.parent.url}" title="${%Back to Job}" contextMenu="false"/>
<l:task icon="icon-terminal icon-md" href="." title="${%Console Output}" />
<j:if test="${(!h.isArtifactsPermissionEnabled() or h.isArtifactsPermissionEnabled() and h.hasPermission(it,attrs.permission)) and it.hasArtifacts}">
<l:task icon="images/24x24/package.png" href="artifacts-index" title="${%Artifacts}" />
<l:task icon="icon-package icon-md" href="artifacts-index" title="${%Artifacts}" />
</j:if>
<st:include page="actions.jelly"/>
<l:task icon="images/24x24/setting.png" href="configure" title="${h.hasPermission(it,it.UPDATE)?'%Configure':'%View Configuration'}"/>
<l:task icon="icon-setting icon-md" href="configure" title="${h.hasPermission(it,it.UPDATE)?'%Configure':'%View Configuration'}"/>
<j:if test="${it.previousBuild!=null}">
<l:task icon="images/24x24/previous.png" href="${rootURL}/${it.previousBuild.url}" title="${%Previous Run}" />
<l:task icon="icon-previous icon-md" href="${rootURL}/${it.previousBuild.url}" title="${%Previous Run}" />
</j:if>
<j:if test="${it.nextBuild!=null}">
<l:task icon="images/24x24/next.png" href="${rootURL}/${it.nextBuild.url}" title="${%Next Run}" />
<l:task icon="icon-next icon-md" href="${rootURL}/${it.nextBuild.url}" title="${%Next Run}" />
</j:if>
</l:tasks>
</l:side-panel>
Expand Down

0 comments on commit b27ce51

Please sign in to comment.