#176: Adjusted user slide. Show only relevant information in a nice and clear layout.
This commit is contained in:
parent
c5a2f896e2
commit
f3c865ee3c
@ -6,38 +6,16 @@
|
||||
{% block title %}{{ block.super }} - {{ title }}{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
|
||||
<div id='sidebar'>
|
||||
<div class='box'>
|
||||
<p><strong>{% trans "Groups" %}</strong><br />
|
||||
<div class="item_fullscreen">{{ shown_user }}
|
||||
<span>
|
||||
{% if shown_user.committee %}
|
||||
<p>{{ shown_user.committee }}</p>
|
||||
{% endif %}
|
||||
<p>
|
||||
{% if shown_user.groups.all %}
|
||||
{{ shown_user.groups.all|join:", " }}
|
||||
{% else %}
|
||||
{% trans "The participant is not member of any group." %}
|
||||
{% endif %}
|
||||
</p>
|
||||
{% if shown_user.get_gender_display %}
|
||||
<p><strong>{% trans "Gender" %}</strong><br />{{ shown_user.get_gender_display }}</p>
|
||||
{% endif %}
|
||||
|
||||
{% if shown_user.get_type_display %}
|
||||
<p><strong>{% trans "Type" %}</strong><br />{{ shown_user.get_type_display }}</p>
|
||||
{% endif %}
|
||||
|
||||
{% if shown_user.committee %}
|
||||
<p><strong>{% trans "Committee" %}</strong><br />{{ shown_user.committee }}</p>
|
||||
{% endif %}
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<h1>{{ shown_user }}</h1>
|
||||
<p>{{ shown_user.email }}</p>
|
||||
|
||||
{% endblock %}
|
||||
|
||||
{% block scrollcontent %}
|
||||
<p>
|
||||
<div class="text">{{ shown_user.about_me|linebreaks }}</div>
|
||||
</p>
|
||||
|
||||
{% endblock %}
|
||||
|
@ -155,6 +155,10 @@ body{
|
||||
font-weight:bold;
|
||||
text-align: center;
|
||||
}
|
||||
.item_fullscreen span
|
||||
{
|
||||
font-size: 50%; font-weight:normal;
|
||||
}
|
||||
|
||||
/* items in a list*/
|
||||
.itemlist li
|
||||
|
Loading…
Reference in New Issue
Block a user