diff --git a/appsettings/migrations/0011_alter_appsettings_id.py b/appsettings/migrations/0011_alter_appsettings_id.py new file mode 100644 index 0000000..dfbfe60 --- /dev/null +++ b/appsettings/migrations/0011_alter_appsettings_id.py @@ -0,0 +1,20 @@ +# Generated by Django 4.2.10 on 2024-02-14 11:54 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ("appsettings", "0010_auto_20231030_1305"), + ] + + operations = [ + migrations.AlterField( + model_name="appsettings", + name="id", + field=models.AutoField( + auto_created=True, primary_key=True, serialize=False, verbose_name="ID" + ), + ), + ] diff --git a/instances/templates/instances/settings_tab.html b/instances/templates/instances/settings_tab.html index 5008a3d..5d91ba5 100644 --- a/instances/templates/instances/settings_tab.html +++ b/instances/templates/instances/settings_tab.html @@ -660,7 +660,9 @@
{% trans "If you need to edit XML please Power Off the instance" %}
+ {% if instance.status != 5 %} +{% trans "If you need to edit XML please Power Off the instance" %}
+ {% endif %}