← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1101614] Re: Cleanup unused code in index.html

 

** Changed in: horizon
       Status: Fix Committed => Fix Released

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

Title:
  Cleanup unused code in index.html

Status in OpenStack Dashboard (Horizon):
  Fix Released

Bug description:
  There seems some unused code in the index.html:

  Example:

  {% block page_header %}
    {% url horizon:admin:projects:index as refresh_link %}
    {# to make searchable false, just remove it from the include statement #}
    {% include "horizon/common/_page_header.html" with title=_("Projects") refresh_link=refresh_link searchable="true" %}
  {% endblock page_header %}

  refresh_link and searchable are attributes not used in
  _page_header.html

  Found two places that needs to be cleaned-up:

  openstack_dashboard/dashboards/admin/projects/templates/projects/index.html
  openstack_dashboard/dashboards/admin/users/templates/users/index.html

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