We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 241f746 commit a048adeCopy full SHA for a048ade
instances/templates/instances/settings_tab.html
@@ -660,7 +660,9 @@ <h5 class="modal-title">{% trans "Edit Instance Network" %}</h5>
660
<div class="clearfix"></div>
661
</div>
662
<div role="tabpanel" class="tab-pane tab-pane-bordered" id="xmledit">
663
- <p>{% trans "If you need to edit XML please Power Off the instance" %}</p>
+ {% if instance.status != 5 %}
664
+ <p>{% trans "If you need to edit XML please Power Off the instance" %}</p>
665
+ {% endif %}
666
<form action="{% url 'instances:change_xml' instance.id %}" method="post" role="form" aria-label="Edit instance XML form">
667
{% csrf_token %}
668
<div class="col-sm-12" id="xmlheight">
0 commit comments