mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-21 15:55:40 +00:00
Add more classes for disable project and description
This commit is contained in:
1 parent
9e7b071733
commit
b544eaabc5
2 files changed
+4
-4
No files matched your search
@@ -27,7 +27,7 @@ THE SOFTWARE.
|
||||
<j:choose>
|
||||
<j:when test="${it.disabled}">
|
||||
<div class="warning">
|
||||
<form method="post" action="enable">
|
||||
<form method="post" id='enable-project' action="enable">
|
||||
${%This project is currently disabled}
|
||||
<l:hasPermission permission="${it.CONFIGURE}">
|
||||
<f:submit value="${%Enable}" />
|
||||
@@ -37,7 +37,7 @@ THE SOFTWARE.
|
||||
</j:when>
|
||||
<j:otherwise>
|
||||
<div align="right">
|
||||
<form method="post" action="disable">
|
||||
<form method="post" id="disable-project" action="disable">
|
||||
<l:hasPermission permission="${it.CONFIGURE}">
|
||||
<f:submit value="${%Disable Project}" />
|
||||
</l:hasPermission>
|
||||
|
||||
@@ -40,8 +40,8 @@ THE SOFTWARE.
|
||||
</div>
|
||||
|
||||
<l:hasPermission permission="${permission}">
|
||||
<div align="right"><a href="editDescription" onclick="${h.isAutoRefresh(request) ? null : 'return replaceDescription();'}">
|
||||
<img src="${imagesURL}/16x16/notepad.png" alt="" height="16" width="16" />
|
||||
<div align="right"><a id="description-link" href="editDescription" onclick="${h.isAutoRefresh(request) ? null : 'return replaceDescription();'}">
|
||||
<img id="description-image" src="${imagesURL}/16x16/notepad.png" alt="" height="16" width="16" />
|
||||
<j:choose>
|
||||
<j:when test="${empty(it.description)}">
|
||||
${%add description}
|
||||
|
||||
Reference in new issue
Block a user