Files
dss/templates/views/UserListItemView.html
2013-07-04 21:45:58 +01:00

35 lines
1.0 KiB
HTML
Executable File

<td>
<a href="<%= url %>"><%= display_name %></a>
</td>
<td>
<a href="/user/<%= slug %>"><%= mix_count%></a>
</td>
<td>
<a href="/user/<%= slug %>/likes"><%= like_count%></a>
</td>
<td>
<a href="/user/<%= slug %>/favourites"><%= favourite_count%></a>
</td>
<td>
<a href="/user/<%= slug %>/followers"><%= follower_count %></a>
</td>
<td><%= following_count %></td>
<td><%= humanise(date_joined) %></td>
<td><%= humanise(last_login) %></td>
<td>
{% if user.is_authenticated %}
<button href="#"
id="follow-button"
class="follow-button btn btn-mini <% if (following) { %> disabled <% } %>">
<i id="follow-icon" class="icon-eye-close"></i>Follow
</button>
{% else %}
<button href="#"
id="follow-button-login"
class="follow-button btn btn-mini <% if (following) { %> disabled <% } %>">
<i id="follow-icon" class="icon-eye-close"></i>Follow
</button>
{% endif %}
</td>