From bcea45518c7f229e61c206b640c5078018b4a4a5 Mon Sep 17 00:00:00 2001 From: imonteroperez Date: Wed, 10 Nov 2021 17:17:06 +0100 Subject: [PATCH] Remove headerDocumentation --- core/src/main/java/hudson/Functions.java | 3 -- .../JenkinsHeader/headerDocumentation.jelly | 28 ------------------- .../resources/lib/layout/pageHeader.jelly | 26 ++++++++++++++++- 3 files changed, 25 insertions(+), 32 deletions(-) delete mode 100644 core/src/main/resources/jenkins/views/JenkinsHeader/headerDocumentation.jelly diff --git a/core/src/main/java/hudson/Functions.java b/core/src/main/java/hudson/Functions.java index a0e385abbc0fa..c727d22435f1e 100644 --- a/core/src/main/java/hudson/Functions.java +++ b/core/src/main/java/hudson/Functions.java @@ -153,9 +153,6 @@ import jenkins.model.ModelObjectWithContextMenu; import jenkins.model.SimplePageDecorator; import jenkins.util.SystemProperties; -import jenkins.views.Header; -import jenkins.views.JenkinsHeader; - import org.apache.commons.jelly.JellyContext; import org.apache.commons.jelly.JellyTagException; import org.apache.commons.jelly.Script; diff --git a/core/src/main/resources/jenkins/views/JenkinsHeader/headerDocumentation.jelly b/core/src/main/resources/jenkins/views/JenkinsHeader/headerDocumentation.jelly deleted file mode 100644 index 9d48a25667bca..0000000000000 --- a/core/src/main/resources/jenkins/views/JenkinsHeader/headerDocumentation.jelly +++ /dev/null @@ -1,28 +0,0 @@ - - - - Generates the page header, along with its associated dynamic behaviours. - This tag is used by l:layout and not expected to be used by anyone else, - but it's written as separate tag for better readability of code. - - - Page title and title attribute for the logo - - - - Alt text for the logo - - - - Placeholder text for the search input - - - - Link value for the help icon on the search box - - - - Text for the logout link - - - \ No newline at end of file diff --git a/core/src/main/resources/lib/layout/pageHeader.jelly b/core/src/main/resources/lib/layout/pageHeader.jelly index 881fde275d8e8..8be492a658508 100644 --- a/core/src/main/resources/lib/layout/pageHeader.jelly +++ b/core/src/main/resources/lib/layout/pageHeader.jelly @@ -1,7 +1,31 @@ + + Generates the page header, along with its associated dynamic behaviours. + This tag is used by l:layout and not expected to be used by anyone else, + but it's written as separate tag for better readability of code. + + + Page title and title attribute for the logo + + + + Alt text for the logo + + + + Placeholder text for the search input + + + + Link value for the help icon on the search box + + + + Text for the logout link + + -