From f92661c7536e362932f018d920757c1e872a40ba Mon Sep 17 00:00:00 2001 From: thomasDOTde Date: Wed, 1 Nov 2017 13:40:26 +0100 Subject: [PATCH] remove unnecessary controls from profile for ext. auth. --- app/templates/user_profile.html | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/app/templates/user_profile.html b/app/templates/user_profile.html index 2dae7e0..28289ff 100644 --- a/app/templates/user_profile.html +++ b/app/templates/user_profile.html @@ -29,10 +29,10 @@ Info
  • Change Avatar
  • -
  • Change + {% if not external_account %}
  • Change Password
  • Authentication -
  • + {% endif %}>
    @@ -51,10 +51,10 @@ -
    +
    {% if not external_account %}
    -
    + {% endif %}
    @@ -69,25 +69,25 @@ else %} {% endif %} -
    + {% if not external_account %}
    -
    - + id="file" name="file"> + {% endif %} + {% if not external_account %}
    NOTE!  Only supports .PNG, .JPG, .JPEG. The best size to use is 200x200. -
    - + {% endif %} + {% if not external_account %}
    -
    + {% endif %} -
    + {% if not external_account %}
    {% if not current_user.password %} Your account password is managed via LDAP which isn't supported to change here. {% else %} @@ -124,7 +124,7 @@ {% endif %}
    -
    + {% endif %}