Browse Source

Add lines to split profile information

fix_ipv6_clean
Alexandre Iooss 7 years ago
parent
commit
5ae1a53172
  1. 6
      static/css/base.css
  2. 8
      users/templates/users/profil.html

6
static/css/base.css

@ -134,6 +134,12 @@ th.long_text{
}
/* Detailed information on profile page */
dl.profile-info {
margin-top: -16px;
margin-bottom: 0;
}
dl.profile-info > div {
padding: 8px;
border-top: 1px solid #ddd;
}

8
users/templates/users/profil.html

@ -286,19 +286,19 @@ with this program; if not, write to the Free Software Foundation, Inc.,
</dd>
</div>
<div class="col-md-6 col-xs-12">
{% if users.adherent.gpg_fingerprint %}
<div class="col-md-6 col-xs-12">
<dt>{% trans "GPG fingerprint" %}</dt>
<dd>{{ users.adherent.gpg_fingerprint }}</dd>
{% endif %}
</div>
{% endif %}
<div class="col-md-6 col-xs-12">
{% if users.shell %}
<div class="col-md-6 col-xs-12">
<dt>{% trans "Shell" %}</dt>
<dd>{{ users.shell }}</dd>
{% endif %}
</div>
{% endif %}
</dl>
</div>
</div>

Loading…
Cancel
Save