From dac0069d08bb7d2d6e68a30b607eaa86e5cc4425 Mon Sep 17 00:00:00 2001 From: Mikko Nieminen Date: Fri, 6 Sep 2024 15:31:07 +0200 Subject: [PATCH] update userprofile settings list layout (#1490) --- CHANGELOG.rst | 2 ++ userprofile/templates/userprofile/detail.html | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.rst b/CHANGELOG.rst index d52a011d..752f52ca 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -24,6 +24,8 @@ Changed - JSON app setting value rendering in ``remoteproject_sync.html`` (#1472) - Change ``AppSettingAPI.compare_value()`` into public method (#1479) - Refactor ``AppLinkContent`` (#1470, #1483) +- **Userprofile** + - Improve user settings list layout (#1490) Fixed ----- diff --git a/userprofile/templates/userprofile/detail.html b/userprofile/templates/userprofile/detail.html index 147fb603..7a7cd70f 100644 --- a/userprofile/templates/userprofile/detail.html +++ b/userprofile/templates/userprofile/detail.html @@ -94,14 +94,14 @@

{% for setting in user_settings %} -
+
{{ setting.label }} {% if setting.description %} {% get_info_link setting.description as info_link %} {{ info_link | safe }} {% endif %}
-
+
{% if setting.value == None or setting.value == '' %} N/A {% else %}