Fixing a link in templates of CG and CG snapshots

Commit f85e0ffa91 moved Consistency Group
out of Volumes panel.
During the work, some template files were not modified with new location.
A lack of the modification caused that user cannot create a snapshot in
Consistency Group via Horizon.
This patch fixes the location of the template and it prevents the
traceback.

Change-Id: Ic8a569cf0781e816e6da6f4423c5cd3bcc9e2eb7
Closes-Bug: #1815165
This commit is contained in:
Keigo Noha 2019-02-07 12:23:00 +09:00 committed by Ivan Kolodyazhny
parent 979dbff32b
commit 2ef503465c
8 changed files with 8 additions and 8 deletions

View File

@ -3,5 +3,5 @@
{% block title %}{{ page_title }}{% endblock %}
{% block main %}
{% include 'project/volumes/cg_snapshots/_create.html' %}
{% include 'project/cg_snapshots/_create.html' %}
{% endblock %}

View File

@ -3,5 +3,5 @@
{% block title %}{{ page_title }}{% endblock %}
{% block main %}
{% include 'project/volumes/cg_snapshots/_update.html' %}
{% include 'project/cg_snapshots/_update.html' %}
{% endblock %}

View File

@ -5,6 +5,6 @@
<div class="quota-dynamic">
<p>{% blocktrans %}Create a snapshot for each volume contained in the Consistency Group.{% endblocktrans %}</p>
<p>{% blocktrans %}Snapshots can only be created for Consistency Groups that contain volumes.{% endblocktrans %}</p>
{% include "project/volumes/cgroups/_snapshot_limits.html" with usages=usages snapshot_quota=True %}
{% include "project/cgroups/_snapshot_limits.html" with usages=usages snapshot_quota=True %}
</div>
{% endblock %}

View File

@ -3,5 +3,5 @@
{% block title %}{{ page_title }}{% endblock %}
{% block main %}
{% include 'project/volumes/cgroups/_clone_cgroup.html' %}
{% include 'project/cgroups/_clone_cgroup.html' %}
{% endblock %}

View File

@ -3,5 +3,5 @@
{% block title %}{{ page_title }}{% endblock %}
{% block main %}
{% include 'project/volumes/cgroups/_create_snapshot.html' %}
{% include 'project/cgroups/_create_snapshot.html' %}
{% endblock %}

View File

@ -3,5 +3,5 @@
{% block title %}{{ page_title }}{% endblock %}
{% block main %}
{% include 'project/volumes/cgroups/_delete.html' %}
{% include 'project/cgroups/_delete.html' %}
{% endblock %}

View File

@ -3,5 +3,5 @@
{% block title %}{{ page_title }}{% endblock %}
{% block main %}
{% include 'project/volumes/cgroups/_remove_vols.html' %}
{% include 'project/cgroups/_remove_vols.html' %}
{% endblock %}

View File

@ -3,5 +3,5 @@
{% block title %}{{ page_title }}{% endblock %}
{% block main %}
{% include 'project/volumes/cgroups/_update.html' %}
{% include 'project/cgroups/_update.html' %}
{% endblock %}