-
Notifications
You must be signed in to change notification settings - Fork 3
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
use header taglib to decouple from core #101
Conversation
by using the header taglib any changes done there e.g. in the searchbox or the login, are automatically reused and double maintenance is avoided. Please enter the commit message for your changes. Lines starting
...n/resources/io/jenkins/plugins/customizable_header/headers/JenkinsHeader/headerContent.jelly
Outdated
Show resolved
Hide resolved
<template id="custom-header-icons"> | ||
<l:icon id="external-link" src="symbol-open-outline plugin-ionicons-api" class="icon-xs"/> | ||
</template> | ||
<header id="header" class="page-header custom-header__page"> | ||
<header id="page-header" class="page-header custom-header__page"> |
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.
adjusted to match core as jenkinsci/jenkins#7569 was going to use it, although I removed the hard dependency on it there in jenkinsci/jenkins@6092031 there is at least one other reference to it
Anything holding this up? |
caa9674
to
87d83a7
Compare
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.
I tested this earlier quite thoroughly with this PR jenkinsci/jenkins#7569
since 2.459 core provides the logo, search box and login parts of the header via a taglib for easier reuse in plugins.
This avoids that we have to duplicate the code and do double maintenance.
Testing done
Submitter checklist