← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1401047] [NEW] genereated index.html by using 'startpanel' command inconsistent with tutorial

 

Public bug reported:

I followed the tutorial 'Building a Dashboard using Horizon' at
http://docs.openstack.org/developer/horizon/topics/tutorial.html

At the template section(http://docs.openstack.org/developer/horizon/topics/tutorial.html#the-template) it says the generated index.html file should look like
-----
{% extends 'mydashboard/base.html' %}
....
{% block mydashboard_main %}
...
-----

My generated index.html however looks like
------
{% extends 'base.html' %}
...
{% block mydashboard_main %}
....
-----

Because it extends the wrong base html the "mydashboard_main" block also
has no effect, and the user ends up with an empty page after the
tutorial.

It looks like the startpanel generation generates the index.html with
the wrong base file.

** Affects: horizon
     Importance: Undecided
         Status: New

** Description changed:

  I followed the tutorial 'Building a Dashboard using Horizon' at
  http://docs.openstack.org/developer/horizon/topics/tutorial.html
  
- At the template section(http://docs.openstack.org/developer/horizon/topics/tutorial.html#the-template) it says the generated should look like 
+ At the template section(http://docs.openstack.org/developer/horizon/topics/tutorial.html#the-template) it says the generated should look like
  -----
  {% extends 'mydashboard/base.html' %}
  ....
  {% block mydashboard_main %}
  ...
  -----
  
  My generated index.html however looks like
  ------
  {% extends 'base.html' %}
  ...
  {% block mydashboard_main %}
  ....
  -----
  
  Because it extends the wrong base html the "mydashboard_main" block also
  has no effect, and the user ends up with an empty page after the
  tutorial.
+ 
+ It looks like the startpanel generation generates the index.html with
+ the wrong base file.

** Description changed:

  I followed the tutorial 'Building a Dashboard using Horizon' at
  http://docs.openstack.org/developer/horizon/topics/tutorial.html
  
- At the template section(http://docs.openstack.org/developer/horizon/topics/tutorial.html#the-template) it says the generated should look like
+ At the template section(http://docs.openstack.org/developer/horizon/topics/tutorial.html#the-template) it says the generated index.html file should look like
  -----
  {% extends 'mydashboard/base.html' %}
  ....
  {% block mydashboard_main %}
  ...
  -----
  
  My generated index.html however looks like
  ------
  {% extends 'base.html' %}
  ...
  {% block mydashboard_main %}
  ....
  -----
  
  Because it extends the wrong base html the "mydashboard_main" block also
  has no effect, and the user ends up with an empty page after the
  tutorial.
  
  It looks like the startpanel generation generates the index.html with
  the wrong base file.

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

Title:
  genereated index.html by using 'startpanel' command inconsistent with
  tutorial

Status in OpenStack Dashboard (Horizon):
  New

Bug description:
  I followed the tutorial 'Building a Dashboard using Horizon' at
  http://docs.openstack.org/developer/horizon/topics/tutorial.html

  At the template section(http://docs.openstack.org/developer/horizon/topics/tutorial.html#the-template) it says the generated index.html file should look like
  -----
  {% extends 'mydashboard/base.html' %}
  ....
  {% block mydashboard_main %}
  ...
  -----

  My generated index.html however looks like
  ------
  {% extends 'base.html' %}
  ...
  {% block mydashboard_main %}
  ....
  -----

  Because it extends the wrong base html the "mydashboard_main" block
  also has no effect, and the user ends up with an empty page after the
  tutorial.

  It looks like the startpanel generation generates the index.html with
  the wrong base file.

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


Follow ups

References