mirror of
https://codeberg.org/rimu/pyfedi
synced 2025-01-23 19:36:56 -08:00
up-/downvoters: link to local user profile
This commit is contained in:
parent
6f53afd4b9
commit
cef53df0da
2 changed files with 12 additions and 8 deletions
|
@ -10,18 +10,20 @@
|
||||||
<h3>{{ _('Voting Activity for "%(reply_text)s"', reply_text=reply_text) }}</h3>
|
<h3>{{ _('Voting Activity for "%(reply_text)s"', reply_text=reply_text) }}</h3>
|
||||||
<p><details open>
|
<p><details open>
|
||||||
<summary>Upvoters</summary>
|
<summary>Upvoters</summary>
|
||||||
|
<ul>
|
||||||
{% for upvoter in upvoters -%}
|
{% for upvoter in upvoters -%}
|
||||||
<a href="{{ upvoter.ap_profile_id }}" rel="nofollow" class="no-underline"><span class="fe fe-external"></span>
|
<li>{{ render_username(upvoter) }}</li>
|
||||||
{{ upvoter.ap_profile_id }}</a><br />
|
|
||||||
{% endfor -%}
|
{% endfor -%}
|
||||||
|
</ul>
|
||||||
</details>
|
</details>
|
||||||
</p><p><hr></p>
|
</p><p><hr></p>
|
||||||
<details open>
|
<details open>
|
||||||
<summary>Downvoters</summary>
|
<summary>Downvoters</summary>
|
||||||
|
<ul>
|
||||||
{% for downvoter in downvoters -%}
|
{% for downvoter in downvoters -%}
|
||||||
<a href="{{ downvoter.ap_profile_id }}" rel="nofollow" class="no-underline"><span class="fe fe-external"></span>
|
<li>{{ render_username(downvoter) }}</li>
|
||||||
{{ downvoter.ap_profile_id }}</a><br />
|
|
||||||
{% endfor -%}
|
{% endfor -%}
|
||||||
|
</ul>
|
||||||
</details>
|
</details>
|
||||||
</div>
|
</div>
|
||||||
{% endblock -%}
|
{% endblock -%}
|
||||||
|
|
|
@ -10,18 +10,20 @@
|
||||||
<h3>{{ _('Voting Activity for "%(post_title)s"', post_title=post_title) }}</h3>
|
<h3>{{ _('Voting Activity for "%(post_title)s"', post_title=post_title) }}</h3>
|
||||||
<p><details open>
|
<p><details open>
|
||||||
<summary>Upvoters</summary>
|
<summary>Upvoters</summary>
|
||||||
|
<ul>
|
||||||
{% for upvoter in upvoters -%}
|
{% for upvoter in upvoters -%}
|
||||||
<a href="{{ upvoter.ap_profile_id }}" rel="nofollow" class="no-underline"><span class="fe fe-external"></span>
|
<li>{{ render_username(upvoter) }}</li>
|
||||||
{{ upvoter.ap_profile_id }}</a><br />
|
|
||||||
{% endfor -%}
|
{% endfor -%}
|
||||||
|
</ul>
|
||||||
</details>
|
</details>
|
||||||
</p><p><hr></p>
|
</p><p><hr></p>
|
||||||
<details open>
|
<details open>
|
||||||
<summary>Downvoters</summary>
|
<summary>Downvoters</summary>
|
||||||
|
<ul>
|
||||||
{% for downvoter in downvoters -%}
|
{% for downvoter in downvoters -%}
|
||||||
<a href="{{ downvoter.ap_profile_id }}" rel="nofollow" class="no-underline"><span class="fe fe-external"></span>
|
<li>{{ render_username(downvoter) }}</li>
|
||||||
{{ downvoter.ap_profile_id }}</a><br />
|
|
||||||
{% endfor -%}
|
{% endfor -%}
|
||||||
|
</ul>
|
||||||
</details>
|
</details>
|
||||||
</div>
|
</div>
|
||||||
{% endblock -%}
|
{% endblock -%}
|
||||||
|
|
Loading…
Add table
Reference in a new issue