← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1397658] [NEW] mistake in creating the panel by the command systempanel

 

Public bug reported:

after we creating a panel by :
python manage.py startpanel mytestpanel -d openstack_dashboard.dashboards.admin –-target auto
the contents of the index.xml in dashboards/admin/mytestpanel/templates/mytestpanel are:

{% extends 'admin/base.html' %}
{% load i18n %}
{% block title %}{% trans "Mytestpanel" %}{% endblock %}

{% block page_header %}
  {% include "horizon/common/_page_header.html" with title=_("Mytestpanel") %}
{% endblock page_header %}

{% block admin_main %}
{% endblock %}

Actually, the first line should be the {% extends 'base.html' %} without
"admin"

** Affects: horizon
     Importance: Undecided
         Status: New

** Description changed:

  after we creating a panel by :
- python manage.py startpanel mytestpanel -d openstack_dashboard.dashboards.admin –-target 
+ python manage.py startpanel mytestpanel -d openstack_dashboard.dashboards.admin –-target auto
  the contents of the index.xml in dashboards/admin/mytestpanel/templates/mytestpanel are:
  
  {% extends 'admin/base.html' %}
  {% load i18n %}
  {% block title %}{% trans "Mytestpanel" %}{% endblock %}
  
  {% block page_header %}
-   {% include "horizon/common/_page_header.html" with title=_("Mytestpanel") %}
+   {% include "horizon/common/_page_header.html" with title=_("Mytestpanel") %}
  {% endblock page_header %}
  
  {% block admin_main %}
  {% endblock %}
  
  Actually, the first line should be the {% extends 'base.html' %} without
  "admin"

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

Title:
  mistake in creating the panel by the command systempanel

Status in OpenStack Dashboard (Horizon):
  New

Bug description:
  after we creating a panel by :
  python manage.py startpanel mytestpanel -d openstack_dashboard.dashboards.admin –-target auto
  the contents of the index.xml in dashboards/admin/mytestpanel/templates/mytestpanel are:

  {% extends 'admin/base.html' %}
  {% load i18n %}
  {% block title %}{% trans "Mytestpanel" %}{% endblock %}

  {% block page_header %}
    {% include "horizon/common/_page_header.html" with title=_("Mytestpanel") %}
  {% endblock page_header %}

  {% block admin_main %}
  {% endblock %}

  Actually, the first line should be the {% extends 'base.html' %}
  without "admin"

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


Follow ups

References