add: only people with post manage permission to view post likes
This commit is contained in:
parent
5d5849cdef
commit
12adcd5fd3
5 changed files with 55 additions and 45 deletions
|
@ -33,11 +33,6 @@
|
|||
{{ icon "quote" }}
|
||||
<span>{{ text "communities:label.quotes" }}</span>
|
||||
</a>
|
||||
|
||||
<a href="/post/{{ post.id }}/likes" class="active">
|
||||
{{ icon "heart" }}
|
||||
<span>{{ text "communities:label.likes" }}</span>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
{% if (user and user.id == post.owner) or can_manage_posts %}
|
||||
|
@ -48,6 +43,11 @@
|
|||
<span>{{ text "communities:label.edit_content" }}</span>
|
||||
</a>
|
||||
{% endif %}
|
||||
<a href="/post/{{ post.id }}/likes" class="active">
|
||||
{{ icon "heart" }}
|
||||
<span>{{ text "communities:label.likes" }}</span>
|
||||
</a>
|
||||
|
||||
<a href="/post/{{ post.id }}#/configure">
|
||||
{{ icon "settings" }}
|
||||
<span>{{ text "communities:action.configure" }}</span>
|
||||
|
|
|
@ -73,11 +73,6 @@
|
|||
{{ icon "quote" }}
|
||||
<span>{{ text "communities:label.quotes" }}</span>
|
||||
</a>
|
||||
|
||||
<a href="/post/{{ post.id }}/likes">
|
||||
{{ icon "heart" }}
|
||||
<span>{{ text "communities:label.likes" }}</span>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
{% if (user and user.id == post.owner) or can_manage_posts %}
|
||||
|
@ -88,6 +83,12 @@
|
|||
<span>{{ text "communities:label.edit_content" }}</span>
|
||||
</a>
|
||||
{% endif %}
|
||||
|
||||
<a href="/post/{{ post.id }}/likes">
|
||||
{{ icon "heart" }}
|
||||
<span>{{ text "communities:label.likes" }}</span>
|
||||
</a>
|
||||
|
||||
<a href="#/configure" data-tab-button="configure">
|
||||
{{ icon "settings" }}
|
||||
<span>{{ text "communities:action.configure" }}</span>
|
||||
|
|
|
@ -33,11 +33,6 @@
|
|||
{{ icon "quote" }}
|
||||
<span>{{ text "communities:label.quotes" }}</span>
|
||||
</a>
|
||||
|
||||
<a href="/post/{{ post.id }}/likes">
|
||||
{{ icon "heart" }}
|
||||
<span>{{ text "communities:label.likes" }}</span>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
{% if (user and user.id == post.owner) or can_manage_posts %}
|
||||
|
@ -48,6 +43,11 @@
|
|||
<span>{{ text "communities:label.edit_content" }}</span>
|
||||
</a>
|
||||
{% endif %}
|
||||
<a href="/post/{{ post.id }}/likes">
|
||||
{{ icon "heart" }}
|
||||
<span>{{ text "communities:label.likes" }}</span>
|
||||
</a>
|
||||
|
||||
<a href="/post/{{ post.id }}#/configure">
|
||||
{{ icon "settings" }}
|
||||
<span>{{ text "communities:action.configure" }}</span>
|
||||
|
|
|
@ -33,11 +33,6 @@
|
|||
{{ icon "quote" }}
|
||||
<span>{{ text "communities:label.quotes" }}</span>
|
||||
</a>
|
||||
|
||||
<a href="/post/{{ post.id }}/likes">
|
||||
{{ icon "heart" }}
|
||||
<span>{{ text "communities:label.likes" }}</span>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
{% if (user and user.id == post.owner) or can_manage_posts %}
|
||||
|
@ -48,6 +43,11 @@
|
|||
<span>{{ text "communities:label.edit_content" }}</span>
|
||||
</a>
|
||||
{% endif %}
|
||||
<a href="/post/{{ post.id }}/likes">
|
||||
{{ icon "heart" }}
|
||||
<span>{{ text "communities:label.likes" }}</span>
|
||||
</a>
|
||||
|
||||
<a href="/post/{{ post.id }}#/configure">
|
||||
{{ icon "settings" }}
|
||||
<span>{{ text "communities:action.configure" }}</span>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue