list ungluers in two-column format by reverse of date wished [#32289815]

pull/1/head
Andromeda Yelton 2012-07-05 11:33:57 -04:00
parent b9aaff2968
commit 9152655587
3 changed files with 27 additions and 15 deletions

View File

@ -255,19 +255,21 @@ $j(document).ready(function(){
</div>
<div id="tabs-3" class="tabs {% if activetab == '3' %}active{% endif %}">
<div class="tabs-content">
{% for supporter in work.wished_by %}
<div class="work_supporter_nocomment">
<a href="/supporter/{{supporter}}">
<div class="work_supporter_avatar">
{% if supporter.profile.pic_url %}
<img class="user-avatar" src="{{ supporter.profile.pic_url }}" height="50" width="50" alt="Picture of {{ supporter }}" title="{{ supporter }}" />
{% else %}
<img class="user-avatar" src="/static/images/header/avatar.png" height="50" width="50" alt="Generic Ungluer Avatar" title="Ungluer" />
{% endif %}
</div>
<div class="work_supporter_name">{{ supporter }}</div>
</a>
</div>
{% for wish in work.wishes.all reversed %}
{% with wish.wishlist.user as supporter %}
<div class="work_supporter_nocomment">
<a href="/supporter/{{ supporter }}">
<div class="work_supporter_avatar">
{% if supporter.profile.pic_url %}
<img class="user-avatar" src="{{ supporter.profile.pic_url }}" height="50" width="50" alt="Picture of {{ supporter }}" title="{{ supporter }}" />
{% else %}
<img class="user-avatar" src="/static/images/header/avatar.png" height="50" width="50" alt="Generic Ungluer Avatar" title="Ungluer" />
{% endif %}
</div>
<div class="work_supporter_name">{{ supporter }}</div>
</a>
</div>
{% endwith %}
{% endfor %}
</div>
</div>

View File

@ -416,6 +416,9 @@ div#content-block-content #tabs-1 img {
padding: 5px;
border: solid 5px #EDF3F4;
}
div#content-block-content #tabs-3 {
margin-left: -5px;
}
.tabs-content {
padding-right: 5px;
}
@ -450,7 +453,8 @@ div#content-block-content #tabs-1 img {
height: 50px;
margin-top: 5px;
vertical-align: middle;
margin-left: -5px;
min-width: 235px;
float: left;
}
.official {
border: 3px #8ac3d7 solid;

View File

@ -168,6 +168,10 @@ div#content-block-content {
#tabs-1 img {
.mediaborder;
}
#tabs-3 {
margin-left: -5px;
}
}
.tabs-content {
@ -207,8 +211,10 @@ div#content-block-content {
height: 50px;
margin-top: 5px;
vertical-align: middle;
margin-left:-5px;
min-width: 235px;
float: left;
}
.official {
border: 3px @bright-blue solid;
padding: 3px;