mirror of
https://github.com/fergalmoran/dss.git
synced 2026-04-02 02:45:01 +00:00
35 lines
1.0 KiB
HTML
Executable File
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>
|