diff --git a/orchestra/contrib/musician/templates/musician/systemuser_change_password.html b/orchestra/contrib/musician/templates/musician/systemuser_change_password.html index c2e7b933..12c9fe92 100644 --- a/orchestra/contrib/musician/templates/musician/systemuser_change_password.html +++ b/orchestra/contrib/musician/templates/musician/systemuser_change_password.html @@ -2,7 +2,7 @@ {% load bootstrap4 i18n %} {% block content %} -

{% trans "Change password" %}: {{ object.name }}

+

{% trans "Change password for" %}: {{ object.username }}

{% csrf_token %} diff --git a/orchestra/contrib/musician/templates/musician/webapp_detail.html b/orchestra/contrib/musician/templates/musician/webapp_detail.html index 37b01c43..9df5163c 100644 --- a/orchestra/contrib/musician/templates/musician/webapp_detail.html +++ b/orchestra/contrib/musician/templates/musician/webapp_detail.html @@ -4,43 +4,118 @@ {% block content %} {% trans "Go back" %} -

- {% trans "PHP settings for" %} {{ object.name }} -

- - -

{% trans "PHP settings page description." %}

+

{% trans "WebApp Options for" %} {{ object.name }}

+
- - - - - - - - - - - - - {% for option in object.options.all %} - - - + + + + + + + {% if object.data.php_version %} + + + + + {% endif %} + + + {% if object.sftpuser %} + + + {% else %} + + {% endif %} - - - - - {% endfor %} + + + + +
{% trans "Type" %}{% trans "Value" %}
{{ option.name }}{{ option.value }} - {% if option.name in edit_allowed_PHP_options %} - - + Server:{{ object.target_server }}
Type:{{ object.type }}
PHP:{{ object.data.php_version }}
SFTP user:{{ object.sftpuser }} + + {{ object.account.main_systemuser }} + +
Path:{{ object.get_base_path }}
+ + +{% if object.data.db_name %} + + + + + + + + + + + + + + + +
{% trans "Database:" %} {{ object.data.db_name }}
{% trans "User Database:" %} {{ object.data.db_user }}
{% trans "Password:" %} {{ object.data.password }}
+ +{% endif %} + + + + +

{% trans "PHP settings" %}

+
+ + +{% if object.options.all|length != 0 %} +

{% trans "PHP settings page description." %}

+ + + + + + + + + + + + + + + {% for option in object.options.all %} + + + + + + {% endfor %} + +
{% trans "Type" %}{% trans "Value" %}
{{ option.name }}{{ option.value }} + {% if option.name in edit_allowed_PHP_options %} + + + {% endif %} + + +
+{% else %} +

{% trans "This WebApp has PHP options by default, create one if you need it." %}

+{% endif %} {% trans "Add new option" %} {% endblock %} diff --git a/orchestra/contrib/musician/templates/musician/webappuser_change_password.html b/orchestra/contrib/musician/templates/musician/webappuser_change_password.html index b101c613..dde6facd 100644 --- a/orchestra/contrib/musician/templates/musician/webappuser_change_password.html +++ b/orchestra/contrib/musician/templates/musician/webappuser_change_password.html @@ -2,7 +2,7 @@ {% load bootstrap4 i18n %} {% block content %} -

{% trans "Change password" %}: {{ object.name }}

+

{% trans "Change password for" %}: {{ object.username }}

{% csrf_token %}