Profile layout with some little info
This commit is contained in:
parent
915abfac42
commit
02459f1f2d
|
@ -29,8 +29,10 @@
|
|||
{% trans "Collection" %}</a>
|
||||
<a data-pjax-nav href="{% url 'profile' 'wishlist' %}" data-pjax="profile" class="list-group-item">
|
||||
{% trans "Wishlist" %}</a>
|
||||
{% comment %}
|
||||
<a data-pjax-nav href="{% url 'profile' 'achievements' %}" data-pjax="profile" class="list-group-item">
|
||||
{% trans "Achievements" %}</a>
|
||||
{% endcomment %}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -4,7 +4,30 @@
|
|||
{% block page_title %}{{ block.super }} | {% trans "Collection" %}{% endblock %}
|
||||
|
||||
{% block profile_content %}
|
||||
<div class="well">
|
||||
Collection
|
||||
<div class="row text-center">
|
||||
<div class="col-sm-3">
|
||||
<div class="well">
|
||||
<h2 class="no-margin-top">{{ user.have_volumes.count }}</h2>
|
||||
{% trans "Volumes owned" %}
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-sm-3">
|
||||
<div class="well">
|
||||
<h2 class="no-margin-top">{{ user.wishlisted_volumes.count }}</h2>
|
||||
{% trans "Volumes wishlisted" %}
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-sm-3">
|
||||
<div class="well">
|
||||
<h2 class="no-margin-top">--</h2>
|
||||
Other
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-sm-3">
|
||||
<div class="well">
|
||||
<h2 class="no-margin-top">--</h2>
|
||||
Other
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
|
|
@ -7,6 +7,6 @@
|
|||
|
||||
{% block profile_content %}
|
||||
<div class="well">
|
||||
Bio
|
||||
<p>Interesting. No, wait, the other thing: tedious. What are you hacking off? Is it my torso?! 'It is!' My precious torso! Yes, if you make it look like an electrical fire. When you do things right, people won't be sure you've done anything at all. Take me to your leader! Ven ve voke up, ve had zese wodies.</p>
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
|
Reference in New Issue