Browse Source

Misc tweaks to users lists

Rafał Pitoń 10 years ago
parent
commit
5959efdf23

+ 2 - 0
misago/templates/misago/ranks_online.html

@@ -15,6 +15,8 @@
           <span>{{ user.username }}</span>
           <span>{{ user.username }}</span>
           {% if user.title %}
           {% if user.title %}
           <small>{{ user.title }}</small>
           <small>{{ user.title }}</small>
+          {% elif rank.title %}
+          <small>{{ rank.title }}</small>
           {% endif %}
           {% endif %}
         </a>
         </a>
       </li>
       </li>

+ 2 - 0
misago/templates/misago/userslists/rank.html

@@ -73,6 +73,8 @@ There are {{ users }} users with {{ rank }} rank.
     <h4 class="user-name">{{ card.username }}</h4>
     <h4 class="user-name">{{ card.username }}</h4>
     {% if card.title %}
     {% if card.title %}
     <small>{{ card.title }}</small>
     <small>{{ card.title }}</small>
+    {% elif rank.title %}
+    <small>{{ rank.title }}</small>
     {% endif %}
     {% endif %}
     {% endblock user-card-footer %}
     {% endblock user-card-footer %}
   </div>
   </div>