[FOLIO-1225] Apply project navbar to issues.folio.org Created: 25/Apr/18  Updated: 12/Nov/18

Status: Open
Project: FOLIO
Components: None
Affects versions: None
Fix versions: None

Type: Task Priority: P3
Reporter: Peter Murray Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: 1 hour, 45 minutes
Original estimate: Not Specified

Attachments: PNG File homepage-with-projectwide-navbar-as-banner-announcement.png    
Issue links:
Blocks
is blocked by FOLIO-1224 Create standalone HTML/CSS for FOLIO-... Closed
Sprint:

 Comments   
Comment by Peter Murray [ 30/Apr/18 ]

This is going to be harder than it should be because Jira doesn't have the equivalent functionality that Confluence has for inserting arbitrary HTML at the top and bottom of pages.

Comment by Peter Murray [ 30/Apr/18 ]

There is a public request for the functionality: JRASERVER-39823: Custom HTML blocks for head, and end of body. We can't use the announcement banner because that gets inserted below Jira's toolbar.

Unable to render embedded object: File (homepage-with-projectwide-navbar-as-banner-announcement.png.png) not found.

Comment by Peter Murray [ 30/Apr/18 ]

John Malconian: This stinks, but it seems like in order to add a navigation header to the HTML of a Jira-rendered page, one needs to edit the raw JSP template files. As near as I can tell without access to the server, these are the files in $JIRA_HOME:

  • $JIRA_HOME/decorators/general-head-post.jsp
  • $JIRA_HOME/decorators/general-body-pre.jsp
  • $JIRA_HOME/decorators/general.jsp

(Changes from the first two get mirrored into the third.)

How would you like to handle this? The snippets that need to be added are:

The HTML (and quite possibly the CSS) aren't set in stone yet, and the contents of the drop-down menus might change from time to time. I've done as best as I can with the Inspector in Chrome to make sure the additions of the CSS and snippet of HTML will not interfere with page functionality, but there may be things that I overlooked.

Do you want to give me the ability to edit those Jira files and restart the Jira server (I don't think changes to the JSPs are picked up automatically by Tomcat when Jira is not running in debug/developer mode)? Or do you want to add these changes as we have them now and have me contact you when updates are needed?

Comment by Peter Murray [ 30/Apr/18 ]

And, of course, ever Jira software upgrade will mean having to make these modifications to the source files all over again. What a PITA.

Generated at Thu Feb 08 23:11:45 UTC 2024 using Jira 1001.0.0-SNAPSHOT#100246-sha1:7a5c50119eb0633d306e14180817ddef5e80c75d.