add: post likes page
fix: requests pkey
This commit is contained in:
parent
bbb629336f
commit
b63df2cb31
11 changed files with 274 additions and 14 deletions
|
@ -74,19 +74,26 @@
|
|||
<span>{{ text "communities:label.quotes" }}</span>
|
||||
</a>
|
||||
|
||||
{% if user and user.id == post.owner %}
|
||||
<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 %} {% if user and
|
||||
user.id == post.owner %}
|
||||
<div class="pillmenu">
|
||||
<a href="#/edit" data-tab-button="edit">
|
||||
{{ icon "pen" }}
|
||||
<span>{{ text "communities:label.edit_content" }}</span>
|
||||
</a>
|
||||
{% endif %} {% if (user and user.id == post.owner) or can_manage_posts
|
||||
%}
|
||||
{% endif %}
|
||||
<a href="#/configure" data-tab-button="configure">
|
||||
{{ icon "settings" }}
|
||||
<span>{{ text "communities:action.configure" }}</span>
|
||||
</a>
|
||||
{% endif %}
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
<div class="flex flex-col gap-2 hidden" data-tab="configure">
|
||||
<div class="card-nest w-full">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue