Skip to content

Commit

Permalink
update userprofile settings list layout (#1490)
Browse files Browse the repository at this point in the history
  • Loading branch information
mikkonie committed Sep 6, 2024
1 parent 535bdaf commit dac0069
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
-----
Expand Down
4 changes: 2 additions & 2 deletions userprofile/templates/userprofile/detail.html
Original file line number Diff line number Diff line change
Expand Up @@ -94,14 +94,14 @@ <h4>
<div class="card-body">
<dl class="row">
{% for setting in user_settings %}
<dt class="col-md-4 font-weight-bold">
<dt class="col-md-5 font-weight-bold">
{{ setting.label }}
{% if setting.description %}
{% get_info_link setting.description as info_link %}
<span class="pull-right">{{ info_link | safe }}</span>
{% endif %}
</dt>
<dd class="col-md-8">
<dd class="col-md-7">
{% if setting.value == None or setting.value == '' %}
<span class="text-muted">N/A</span>
{% else %}
Expand Down

0 comments on commit dac0069

Please sign in to comment.