1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2025-07-31 12:41:08 +00:00

added SHOW_ACCESS_ROOT_PASSWORD, SHOW_ACCESS_SSH_KEYS, SHOW_PROFILE_EDIT_PASSWORD -- hides specific forms

This commit is contained in:
Ing. Jan KRCMAR 2017-06-27 09:22:09 +02:00
parent fd87cfd86e
commit fdf383a647
3 changed files with 14 additions and 1 deletions

View file

@ -41,6 +41,7 @@
</div>
</div>
</form>
{% if SHOW_PROFILE_EDIT_PASSWORD %}
<h3 class="page-header">{% trans "Edit Password" %}</h3>
<form class="form-horizontal" method="post" action="" role="form">{% csrf_token %}
<div class="form-group">
@ -67,6 +68,7 @@
</div>
</div>
</form>
{% endif %}
<h3 class="page-header">{% trans "SSH Keys" %}</h3>
{% if publickeys %}
<div class="col-lg-12">
@ -112,4 +114,4 @@
</form>
</div>
</div>
{% endblock %}
{% endblock %}