Made breadcrumb consistent with horizon
Now horizon this patch:https://review.openstack.org/#/c/284421/ merged, so we should make murano-dashboard breadcrumb consistent with horizon. Change-Id: I436fde0e092f3ffeb499f1a3a99e2aca5197c721 Closes-Bug: #1579315
This commit is contained in:
parent
21ab20ae88
commit
ee7edeb1f3
@ -128,7 +128,6 @@ class DetailServiceView(tabs.TabbedTableView):
|
||||
env = api.environment_get(self.request, self.environment_id)
|
||||
context["environment_name"] = env.name
|
||||
breadcrumb = [
|
||||
(_("Environments"), EnvironmentDetails.get_redirect_url()),
|
||||
(context["environment_name"],
|
||||
reverse("horizon:murano:environments:services",
|
||||
args=[self.environment_id])),
|
||||
@ -203,7 +202,6 @@ class DeploymentDetailsView(tabs.TabbedTableView):
|
||||
self.environment_id,
|
||||
self.deployment_id)
|
||||
breadcrumb = [
|
||||
(_("Environments"), EnvironmentDetails.get_redirect_url()),
|
||||
(context["environment_name"],
|
||||
reverse("horizon:murano:environments:services",
|
||||
args=[self.environment_id])),
|
||||
|
@ -1,13 +1,10 @@
|
||||
{% extends 'murano_base.html' %}
|
||||
{% load i18n sizeformat %}
|
||||
{% load breadcrumb_nav %}
|
||||
|
||||
{% block title %}{% trans "Deployment Details" %}{% endblock %}
|
||||
|
||||
{% block page_header %}
|
||||
<div class='page-header'>
|
||||
{% breadcrumb_nav %}
|
||||
</div>
|
||||
{% include "horizon/common/_detail_header.html" %}
|
||||
{% endblock page_header %}
|
||||
|
||||
{% block main %}
|
||||
|
@ -1,13 +1,10 @@
|
||||
{% extends 'base.html' %}
|
||||
{% load i18n %}
|
||||
{% load breadcrumb_nav %}
|
||||
|
||||
{% block title %}{% trans "Package Details" %}{% endblock %}
|
||||
|
||||
{% block page_header %}
|
||||
<div class='page-header'>
|
||||
{% breadcrumb_nav %}
|
||||
</div>
|
||||
{% include "horizon/common/_detail_header.html" %}
|
||||
{% endblock %}
|
||||
|
||||
{% block main %}
|
||||
|
@ -1,6 +1,5 @@
|
||||
{% extends 'murano_base.html' %}
|
||||
{% load i18n sizeformat %}
|
||||
{% load breadcrumb_nav %}
|
||||
{% load static %}
|
||||
{% load compress %}
|
||||
|
||||
@ -14,9 +13,7 @@
|
||||
{% endblock %}
|
||||
|
||||
{% block page_header %}
|
||||
<div class='page-header'>
|
||||
{% breadcrumb_nav %}
|
||||
</div>
|
||||
{% include "horizon/common/_detail_header.html" %}
|
||||
{% endblock page_header %}
|
||||
|
||||
{% block main %}
|
||||
|
@ -1,6 +1,5 @@
|
||||
{% extends 'murano_base.html' %}
|
||||
{% load i18n %}
|
||||
{% load breadcrumb_nav %}
|
||||
{% load static %}
|
||||
{% load compress %}
|
||||
{% load horizon %}
|
||||
@ -8,9 +7,7 @@
|
||||
{% block title %}{% trans "Components" %}{% endblock %}
|
||||
|
||||
{% block page_header %}
|
||||
<div class='page-header'>
|
||||
{% breadcrumb_nav %}
|
||||
</div>
|
||||
{% include "horizon/common/_detail_header.html" %}
|
||||
{% endblock page_header %}
|
||||
{% block main %}
|
||||
<input type="hidden" id="environmentId" value="{{ environment_id }}">
|
||||
|
Loading…
Reference in New Issue
Block a user