mirror of
https://github.com/retspen/webvirtcloud
synced 2025-01-24 22:25:19 +00:00
do not show warning message when instance is shutdown
This commit is contained in:
parent
241f7462f7
commit
a048adef8e
1 changed files with 3 additions and 1 deletions
|
@ -660,7 +660,9 @@
|
|||
<div class="clearfix"></div>
|
||||
</div>
|
||||
<div role="tabpanel" class="tab-pane tab-pane-bordered" id="xmledit">
|
||||
<p>{% trans "If you need to edit XML please Power Off the instance" %}</p>
|
||||
{% if instance.status != 5 %}
|
||||
<p>{% trans "If you need to edit XML please Power Off the instance" %}</p>
|
||||
{% endif %}
|
||||
<form action="{% url 'instances:change_xml' instance.id %}" method="post" role="form" aria-label="Edit instance XML form">
|
||||
{% csrf_token %}
|
||||
<div class="col-sm-12" id="xmlheight">
|
||||
|
|
Loading…
Reference in a new issue