From 0fc57cf86a02ec0a5273f177d96e26cf276b5d98 Mon Sep 17 00:00:00 2001 From: Jinil Lee Date: Mon, 4 Nov 2019 23:04:34 +0900 Subject: [PATCH] small ui fixes private label does not appear on the user page. element id is duplicated in the edit_user_form page. --- ckan/templates/user/edit_user_form.html | 2 +- ckan/templates/user/read_base.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ckan/templates/user/edit_user_form.html b/ckan/templates/user/edit_user_form.html index b11ae5b364c..d0141f5f397 100644 --- a/ckan/templates/user/edit_user_form.html +++ b/ckan/templates/user/edit_user_form.html @@ -27,7 +27,7 @@ {{ form.input('old_password', type='password', label=_('Sysadmin Password') if is_sysadmin else _('Old Password'), - id='field-password', + id='field-password-old', value=data.oldpassword, error=errors.oldpassword, classes=['control-medium'], diff --git a/ckan/templates/user/read_base.html b/ckan/templates/user/read_base.html index e78e1812a70..e76053b505b 100644 --- a/ckan/templates/user/read_base.html +++ b/ckan/templates/user/read_base.html @@ -79,7 +79,7 @@

{{ user.display_name }}

{% if is_myself %}
-
{{ _('Email') }} {{ _('Private') }}
+
{{ _('Email') }} {{ _('Private') }}
{{ user.email }}
{% endif %}