← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1384652] [NEW] _stylesheet.html won't get replaced by custom dashboard

 

Public bug reported:

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/?

** Affects: horizon
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1384652

Title:
  _stylesheet.html won't get replaced by custom dashboard

Status in OpenStack Dashboard (Horizon):
  New

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/?

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1384652/+subscriptions


Follow ups

References