Skip to content

Commit

Permalink
[#2939] Hack follower snippet for group admins
Browse files Browse the repository at this point in the history
  • Loading branch information
tobes committed Nov 22, 2012
1 parent 091228f commit 2fb4797
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ckan/templates/user/snippets/followers.html
@@ -1,9 +1,10 @@
{% if followers %}
<ul class="unstyled follower-list">
{% for follower in followers %}
{# HACK: (for group/admins) follower can be the id of the user or a user_dict #}
<li>
<span data-module="popover-context" data-module-type="user" data-module-id="{{ follower.id }}">
{{ h.linked_user(follower.name, maxlength=20) }}
{{ h.linked_user(follower.name or follower, maxlength=20) }}
</span>
</li>
{% endfor %}
Expand Down

0 comments on commit 2fb4797

Please sign in to comment.