pyfedi/app/templates/post/post_voting_activity.html

28 lines
1.2 KiB
HTML
Raw Normal View History

{% if theme() and file_exists('app/templates/themes/' + theme() + '/base.html') -%}
{% extends 'themes/' + theme() + '/base.html' -%}
{% else -%}
{% extends "base.html" -%}
{% endif -%} -%}
{% from 'bootstrap/form.html' import render_form -%}
{% block app_content -%}
<div class="row">
<h3>{{ _('Voting Activity for "%(post_title)s"', post_title=post_title) }}</h3>
<p><details open>
<summary>Upvoters</summary>
{% for upvoter in upvoters -%}
<a href="{{ upvoter.ap_profile_id }}" rel="nofollow" class="no-underline"><span class="fe fe-external"></span>
{{ upvoter.ap_profile_id }}</a><br />
{% endfor -%}
</details>
</p><p><hr></p>
<details open>
<summary>Downvoters</summary>
{% for downvoter in downvoters -%}
<a href="{{ downvoter.ap_profile_id }}" rel="nofollow" class="no-underline"><span class="fe fe-external"></span>
{{ downvoter.ap_profile_id }}</a><br />
{% endfor -%}
</details>
</div>
{% endblock -%}