-
-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Removed the dismiss button and added X #26076
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
base: master
Are you sure you want to change the base?
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -27,7 +27,15 @@ THE SOFTWARE. | |
| <div class="jenkins-alert jenkins-alert-warning"> | ||
| <form method="post" action="${rootURL}/${it.url}/act" name="${it.id}"> | ||
| <f:submit name="yes" value="${%Manage}"/> | ||
| <f:submit name="no" value="${%Dismiss}"/> | ||
| <l:isAdmin> | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Why? |
||
| <button type="submit" | ||
| class="jenkins-button jenkins-button--tertiary" | ||
| name="no" | ||
| value="${%Dismiss}" | ||
| title="${%Dismiss}"> | ||
| <l:icon src="symbol-close"/> | ||
| </button> | ||
| </l:isAdmin> | ||
| </form> | ||
| ${%You have data stored in an older format and/or unreadable data.} | ||
| </div> | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -26,7 +26,13 @@ THE SOFTWARE. | |
| <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"> | ||
| <div class="jenkins-alert jenkins-alert-warning"> | ||
| <form method="post" action="${rootURL}/${it.url}/disable"> | ||
| <f:submit value="${%Dismiss}"/> | ||
| <button type="submit" | ||
| class="jenkins-button jenkins-button--tertiary" | ||
| name="no" | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Why? |
||
| value="${%Dismiss}" | ||
| title="${%Dismiss}"> | ||
| <l:icon src="symbol-close"/> | ||
| </button> | ||
| </form> | ||
| ${%blurb(rootURL)} | ||
| </div> | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -26,7 +26,13 @@ THE SOFTWARE. | |
| <div class="jenkins-alert jenkins-alert-warning"> | ||
| <l:isAdmin> | ||
| <form method="post" action="${rootURL}/${it.url}/disable"> | ||
| <f:submit value="${%Dismiss}"/> | ||
| <button type="submit" | ||
| class="jenkins-button jenkins-button--tertiary" | ||
| name="no" | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Why? |
||
| value="${%Dismiss}" | ||
| title="${%Dismiss}"> | ||
| <l:icon src="symbol-close"/> | ||
| </button> | ||
| </form> | ||
| </l:isAdmin> | ||
| <j:set var="actionAnchor"> | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -22,11 +22,18 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN | |
| THE SOFTWARE. | ||
| --> | ||
| <?jelly escape-by-default='true'?> | ||
| <j:jelly xmlns:j="jelly:core" xmlns:f="/lib/form"> | ||
| <j:jelly xmlns:j="jelly:core" xmlns:f="/lib/form" xmlns:l="/lib/layout"> | ||
| <div class="jenkins-alert jenkins-alert-info"> | ||
| <form method="post" action="${rootURL}/${it.url}/act" name="${it.id}"> | ||
| <f:submit name="more" value="${%Learn more}"/> | ||
| <f:submit name="dismiss" primary="false" value="${%Dismiss}"/> | ||
| <l:isAdmin> | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Why? |
||
| <button type="submit" | ||
| class="jenkins-button jenkins-button--tertiary" | ||
| value="${%Dismiss}" | ||
| name="dismiss"> | ||
| <l:icon src="symbol-close"/> | ||
| </button> | ||
| </l:isAdmin> | ||
|
Comment on lines
+29
to
+36
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Formatting inconsistent with the rest of the file. |
||
| </form> | ||
| ${%blurb} | ||
| </div> | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -25,7 +25,14 @@ THE SOFTWARE. | |
| <j:jelly xmlns:j="jelly:core" xmlns:f="/lib/form"> | ||
| <div class="jenkins-alert jenkins-alert-warning"> | ||
| <form method="post" action="${rootURL}/${it.url}/disable"> | ||
| <f:submit value="${%Dismiss}"/> | ||
| <l:isAdmin> | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Why? |
||
| <button type="submit" | ||
| class="jenkins-button jenkins-button--tertiary" | ||
| value="${%Dismiss}" | ||
| name="no"> | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Why? |
||
| <l:icon src="symbol-close"/> | ||
| </button> | ||
| </l:isAdmin> | ||
| </form> | ||
| <j:set var="referenceAnchor"> | ||
| <a href="https://www.jenkins.io/redirect/csrf-protection" rel="noopener noreferrer" target="_blank">${%referenceUrlContent}</a> | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why?