add: profile moderation ui
add: pagination ui
This commit is contained in:
parent
d0c1fbcf9a
commit
9a9b72bdbb
14 changed files with 417 additions and 38 deletions
|
@ -137,7 +137,7 @@
|
|||
});
|
||||
};
|
||||
</script>
|
||||
{% endif %} {% else %}
|
||||
{% endif %} {% endif %} {% if is_owner or is_manager %}
|
||||
<a
|
||||
href="/community/{{ community.title }}/manage"
|
||||
class="button primary"
|
||||
|
|
|
@ -44,6 +44,8 @@
|
|||
{% for post in feed %}
|
||||
{{ components::post(post=post[0], owner=post[1], secondary=true, show_community=false) }}
|
||||
{% endfor %}
|
||||
|
||||
{{ components::pagination(page=page, items=feed|length) }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -47,8 +47,12 @@
|
|||
</div>
|
||||
|
||||
<div class="card flex flex-col gap-4">
|
||||
{% for post in replies %} {{ components::post(post=post[0],
|
||||
owner=post[1], secondary=true, show_community=false) }} {% endfor %}
|
||||
<!-- prettier-ignore -->
|
||||
{% for post in replies %}
|
||||
{{ components::post(post=post[0], owner=post[1], secondary=true, show_community=false) }}
|
||||
{% endfor %}
|
||||
|
||||
{{ components::pagination(page=page, items=replies|length) }}
|
||||
</div>
|
||||
</div>
|
||||
</main>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue