forked from mirrors/bookwyrm
show star if this user is the creator/manager of the group
This commit is contained in:
parent
e5ca377cd3
commit
277c033fda
1 changed files with 3 additions and 3 deletions
|
@ -10,10 +10,10 @@
|
|||
<h4 class="card-header-title">
|
||||
<a href="/group/{{ group.id }}">{{ group.name }}</a> <span class="subtitle">{% include 'snippets/privacy-icons.html' with item=group %}</span>
|
||||
</h4>
|
||||
{% if request.user.is_authenticated and request.user|saved:list %}
|
||||
{% if group.user == user %}
|
||||
<div class="card-header-icon">
|
||||
{% trans "Saved" as text %}
|
||||
<span class="icon icon-bookmark has-text-grey" title="{{ text }}">
|
||||
{% trans "Manager" as text %}
|
||||
<span class="icon icon-star-full has-text-grey" title="{{ text }}">
|
||||
<span class="is-sr-only">{{ text }}</span>
|
||||
</span>
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue