Merge "Set <base> element ONLY for Angular Panels"

This commit is contained in:
Jenkins
2016-01-19 13:33:27 +00:00
committed by Gerrit Code Review
4 changed files with 13 additions and 0 deletions

View File

@@ -6,6 +6,10 @@
<hz-page-header header="'{% trans "Flavors" %}'"></hz-page-header> <hz-page-header header="'{% trans "Flavors" %}'"></hz-page-header>
{% endblock %} {% endblock %}
{% block ng_route_base %}
<base href="{{ WEBROOT }}" >
{% endblock %}%}
{% block main %} {% block main %}
<ng-include src="'{{ STATIC_URL }}dashboard/admin/flavors/table/flavors-table.html'"></ng-include> <ng-include src="'{{ STATIC_URL }}dashboard/admin/flavors/table/flavors-table.html'"></ng-include>
{% endblock %} {% endblock %}

View File

@@ -2,6 +2,10 @@
{% load i18n %} {% load i18n %}
{% block title %}{% trans "Users" %}{% endblock %} {% block title %}{% trans "Users" %}{% endblock %}
{% block ng_route_base %}
<base href="{{ WEBROOT }}">
{% endblock %}%}
{% block main %} {% block main %}
<ng-include src="'{{ STATIC_URL }}dashboard/identity/users/table/table.html'"></ng-include> <ng-include src="'{{ STATIC_URL }}dashboard/identity/users/table/table.html'"></ng-include>
{% endblock %} {% endblock %}

View File

@@ -2,6 +2,10 @@
{% load i18n %} {% load i18n %}
{% block title %}{% trans "Images" %}{% endblock %} {% block title %}{% trans "Images" %}{% endblock %}
{% block ng_route_base %}
<base href="{{ WEBROOT }}">
{% endblock %}%}
{% block main %} {% block main %}
<ng-include src="'{{ STATIC_URL }}app/core/images/table/images-table.html'"></ng-include> <ng-include src="'{{ STATIC_URL }}app/core/images/table/images-table.html'"></ng-include>
{% endblock %} {% endblock %}

View File

@@ -15,6 +15,7 @@
{% include "horizon/_conf.html" %} {% include "horizon/_conf.html" %}
{% include "horizon/client_side/_script_loader.html" %} {% include "horizon/client_side/_script_loader.html" %}
{% include "horizon/_custom_head_js.html" %} {% include "horizon/_custom_head_js.html" %}
{% block ng_route_base %} {% endblock %}
</head> </head>
<body id="{% block body_id %}{% endblock %}" ng-app='horizon.app' ng-strict-di> <body id="{% block body_id %}{% endblock %}" ng-app='horizon.app' ng-strict-di>
<noscript> <noscript>