_stylesheet.html won't get replaced by custom dashboard

Bug #1384652 reported by Christoph Seifert
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Invalid
Undecided
Unassigned

Bug Description

Version: stable/juno
Run with ./run_test.py --runserver

I've added a custom dashboard to replace some templates which works fine. E.g changes on custom_dashboard/templates/base.html are processed.
That won't work for custom_dashboard/templates/_stylesheets.html. Instead openstack_dashboard/templates/_stylesheets.html get loaded. If I change the include line in my custom base.html to something like _custome_stylesheets.html und place a corresponding file everything works as expected.

So there is no way replacing default _stylesheets.html without replacing base.html.
Does the include template tag ignore the order specified in openstack_dashboard/enabled/?

Revision history for this message
Christoph Seifert (christoph-seifert27) wrote :

Effects every included template.

Revision history for this message
Matthias Runge (mrunge) wrote :

I strongly believe, this is fixed by https://review.openstack.org/148292 currently under review

Changed in horizon:
status: New → Confirmed
Revision history for this message
Christoph Seifert (christoph-seifert27) wrote :

At least this is fixed with Kilo release. For me this can be closed.

Revision history for this message
Rob Cresswell (robcresswell-deactivatedaccount) wrote :

Closing, following the discussion above.

Changed in horizon:
status: Confirmed → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.