Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add app bar and move edit description #200

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<properties>
<changelist>999999-SNAPSHOT</changelist>
<gitHubRepo>jenkinsci/${project.artifactId}-plugin</gitHubRepo>
<jenkins.version>2.440.3</jenkins.version>
<jenkins.version>2.461-rc34998.da_5964da_3eb_b_</jenkins.version>
<spotbugs.skip>true</spotbugs.skip> <!-- Clean up redundant null check warnings and re-enable after SECURITY-1339 is released -->
</properties>
<licenses>
Expand Down
17 changes: 15 additions & 2 deletions src/main/resources/hudson/matrix/MatrixProject/index.jelly
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,24 @@ THE SOFTWARE.
<l:layout title="${it.name}">
<st:include page="sidepanel.jelly" />
<l:main-panel>
<h1 class="matrix-project-headline page-headline">${%Project} <l:breakable value="${it.displayName}"/></h1>
<div class="jenkins-app-bar">
<div class="jenkins-app-bar__content jenkins-build-caption">
<j:set var="lastBuild" value="${it.lastBuild}" />
<j:if test="${lastBuild != null}">
<a href="${rootURL + '/' + lastBuild.url}" class="jenkins-!-display-contents" tabindex="-1">
<l:icon src="symbol-status-${lastBuild.iconColor.iconName}" tooltip="${lastBuild.iconColor.description}"/>
</a>
</j:if>
<h1 class="matrix-project-headline page-headline"><l:breakable value="${it.displayName}"/></h1>
</div>
<div class="jenkins-app-bar__controls">
<t:editDescriptionButton permission="${it.CONFIGURE}"/>
</div>
</div>
<j:if test="${it.name!=it.displayName}">
${%Project name}: ${it.fullName}
</j:if>
<t:editableDescription permission="${it.CONFIGURE}"/>
<t:editableDescription permission="${it.CONFIGURE}" hideButton="true"/>

<st:include page="makeDisabled.jelly" />

Expand Down