diff --git a/core/src/main/resources/hudson/PluginManager/installed.jelly b/core/src/main/resources/hudson/PluginManager/installed.jelly index 951e0cf2877d..c9b7dd93f200 100644 --- a/core/src/main/resources/hudson/PluginManager/installed.jelly +++ b/core/src/main/resources/hudson/PluginManager/installed.jelly @@ -71,7 +71,7 @@ THE SOFTWARE. - + diff --git a/core/src/main/resources/hudson/PluginManager/updates.jelly b/core/src/main/resources/hudson/PluginManager/updates.jelly index da79d1958cf9..d4163fb7cfbe 100644 --- a/core/src/main/resources/hudson/PluginManager/updates.jelly +++ b/core/src/main/resources/hudson/PluginManager/updates.jelly @@ -230,7 +230,7 @@ THE SOFTWARE.
- +
diff --git a/core/src/main/resources/hudson/logging/LogRecorder/index.jelly b/core/src/main/resources/hudson/logging/LogRecorder/index.jelly index 0428fbc5bd9f..eedda4e43049 100644 --- a/core/src/main/resources/hudson/logging/LogRecorder/index.jelly +++ b/core/src/main/resources/hudson/logging/LogRecorder/index.jelly @@ -67,7 +67,7 @@ THE SOFTWARE. - + diff --git a/core/src/main/resources/hudson/model/View/noJob.jelly b/core/src/main/resources/hudson/model/View/noJob.jelly index 4145b1118be8..23011d448e4b 100644 --- a/core/src/main/resources/hudson/model/View/noJob.jelly +++ b/core/src/main/resources/hudson/model/View/noJob.jelly @@ -23,9 +23,10 @@ THE SOFTWARE. --> - - ${%description_1} - - ${%description_2} - + + + + ${%description_2} + + diff --git a/core/src/main/resources/jenkins/model/Jenkins/systemInfo.jelly b/core/src/main/resources/jenkins/model/Jenkins/systemInfo.jelly index 554215da00c3..f9d7825ed233 100644 --- a/core/src/main/resources/jenkins/model/Jenkins/systemInfo.jelly +++ b/core/src/main/resources/jenkins/model/Jenkins/systemInfo.jelly @@ -53,7 +53,7 @@ THE SOFTWARE. - + diff --git a/core/src/main/resources/lib/layout/notice.jelly b/core/src/main/resources/lib/layout/notice.jelly index 247f4e34b1e3..8a2e666a8b38 100644 --- a/core/src/main/resources/lib/layout/notice.jelly +++ b/core/src/main/resources/lib/layout/notice.jelly @@ -23,10 +23,10 @@ THE SOFTWARE. --> - + - - Sets the text for the notice. HTML isn't supported. + + Sets the title for the notice. HTML isn't supported. Sets the icon for the notice. Supports Jenkins Symbols and regular images. @@ -35,6 +35,9 @@ THE SOFTWARE.
-
${attrs.text}
+
${attrs.title}
+
+ +
diff --git a/war/src/main/scss/components/_notice.scss b/war/src/main/scss/components/_notice.scss index d02928fa3aec..44f70de01a90 100644 --- a/war/src/main/scss/components/_notice.scss +++ b/war/src/main/scss/components/_notice.scss @@ -8,11 +8,22 @@ background: var(--button-background); border-radius: 0.66rem; font-size: var(--font-size-base); - margin-bottom: 30px; - font-weight: 500; + margin-bottom: var(--section-padding); + font-weight: 450; + padding: calc(var(--section-padding) * 2); + text-align: center; svg { width: 2.5rem; height: 2.5rem; } + + &__description { + color: var(--text-color-secondary); + margin-top: -0.375rem; + + &:empty { + display: none; + } + } }