diff --git a/crates/app/src/public/html/post/likes.html b/crates/app/src/public/html/post/likes.html index 90f132d..f1c826e 100644 --- a/crates/app/src/public/html/post/likes.html +++ b/crates/app/src/public/html/post/likes.html @@ -40,9 +40,9 @@ - {% if (user and user.id == post.owner) or can_manage_posts %} {% if user and - user.id == post.owner %} + {% if (user and user.id == post.owner) or can_manage_posts %}
+ {% if user and user.id == post.owner %} {{ icon "pen" }} {{ text "communities:label.edit_content" }} @@ -61,7 +61,7 @@ {{ text "communities:label.likes" }}
-
+
{% for user in list %} {{ components::user_plate(user=user, secondary=true) }} @@ -71,4 +71,16 @@
+ + {% endblock %} diff --git a/crates/app/src/public/html/post/post.html b/crates/app/src/public/html/post/post.html index 0da0fee..f4536ba 100644 --- a/crates/app/src/public/html/post/post.html +++ b/crates/app/src/public/html/post/post.html @@ -80,10 +80,10 @@
- {% if (user and user.id == post.owner) or can_manage_posts %} {% if user and - user.id == post.owner %} + {% if (user and user.id == post.owner) or can_manage_posts %}
- + {% if user and user.id == post.owner %} + {{ icon "pen" }} {{ text "communities:label.edit_content" }} diff --git a/crates/app/src/public/html/post/quotes.html b/crates/app/src/public/html/post/quotes.html index 43e1321..7202025 100644 --- a/crates/app/src/public/html/post/quotes.html +++ b/crates/app/src/public/html/post/quotes.html @@ -40,9 +40,9 @@
- {% if (user and user.id == post.owner) or can_manage_posts %} {% if user and - user.id == post.owner %} + {% if (user and user.id == post.owner) or can_manage_posts %}
+ {% if user and user.id == post.owner %} {{ icon "pen" }} {{ text "communities:label.edit_content" }} diff --git a/crates/app/src/public/html/post/reposts.html b/crates/app/src/public/html/post/reposts.html index 1cac8bd..da84561 100644 --- a/crates/app/src/public/html/post/reposts.html +++ b/crates/app/src/public/html/post/reposts.html @@ -40,9 +40,9 @@
- {% if (user and user.id == post.owner) or can_manage_posts %} {% if user and - user.id == post.owner %} + {% if (user and user.id == post.owner) or can_manage_posts %}
+ {% if user and user.id == post.owner %} {{ icon "pen" }} {{ text "communities:label.edit_content" }}