Commit 6dd40216 authored by Michal Čihař's avatar Michal Čihař

Improve look of user profile page

Signed-off-by: default avatarMichal Čihař <michal@cihar.com>
parent 8ad2f541
...@@ -8,10 +8,6 @@ ...@@ -8,10 +8,6 @@
{% block content %} {% block content %}
<div class="panel panel-primary">
<div class="panel-heading"><h4 class="panel-title">{{ page_profile.get_user_name }}</h4></div>
<div class="panel-body">
<div class="row"> <div class="row">
{% if enable_avatars %} {% if enable_avatars %}
<div class="col-lg-2"> <div class="col-lg-2">
...@@ -31,7 +27,7 @@ ...@@ -31,7 +27,7 @@
{% if user_projects %} {% if user_projects %}
<h4>{% trans "Projects" %}</h4> <h3>{% trans "Projects" %}</h3>
<div class="list-group"> <div class="list-group">
{% for project in user_projects %} {% for project in user_projects %}
<a class="list-group-item" href="{{ project.get_absolute_url }}">{{ project }}</a> <a class="list-group-item" href="{{ project.get_absolute_url }}">{{ project }}</a>
...@@ -48,9 +44,11 @@ ...@@ -48,9 +44,11 @@
<h3>{% trans "Activity in last year" %}</h3> <h3>{% trans "Activity in last year" %}</h3>
<div id="activity-year" class="ct-chart ct-double-octave"></div> <div id="activity-year" class="ct-chart ct-double-octave"></div>
</div>
</div>
{% include "last-changes.html" %} <h3>{% trans "Recent changes" %}</h3>
{% include "last-changes-content.html" %}
<a class="btn btn-link" href="{% url 'changes' %}?{{ last_changes_url }}">{% trans "Browse all changes for user" %}</a>
{% endblock %} {% endblock %}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment