Skip to content

Commit

Permalink
Refine content for error alert (#389)
Browse files Browse the repository at this point in the history
  • Loading branch information
janfaracik authored Jan 11, 2025
1 parent 3d38a04 commit 3bc47f2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
<s:group>
<s:preview>
<dialog class="jenkins-dialog">
<div class="jenkins-dialog__title">Error</div>
<div class="jenkins-dialog__contents">This doesn't work.</div>
<div class="jenkins-dialog__title">Example alert</div>
<div class="jenkins-dialog__contents">I'm an example of an error alert.</div>
<div class="jenkins-buttons-row jenkins-buttons-row--equal-width jenkins-dialog__buttons">
<button data-id="ok" type="button"
class="jenkins-button jenkins-button--primary jenkins-!-destructive-color">OK
Expand Down
4 changes: 2 additions & 2 deletions src/main/webapp/Dialogs/alert.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
function showAlert() {
dialog.alert("Error", {
message: "This doesn't work.", type: "destructive"
dialog.alert("Example alert", {
message: "I'm an example of an error alert.", type: "destructive"
});
}

0 comments on commit 3bc47f2

Please sign in to comment.