]> git.gir.st - subscriptionfeed.git/blob - app/youtube/templates/subscription_manager.html.j2
add final / to /channel/ urls in templates
[subscriptionfeed.git] / app / youtube / templates / subscription_manager.html.j2
1 {% extends "base.html.j2" %}
2 {% import 'macros.imp.j2' as macros %}
3
4 {% block title %}Subscription Manager{% endblock %}
5
6 {% block content %}
7 {{ super() }}
8 <ul id=submgr>
9 <form method=post>
10 <label title="subscribe">
11 <input type=submit hidden>
12 <span class="emoji">&#128221;&#xFE0F;</span>
13 </label>
14 <input name=subscribe placeholder="channel id">
15 </form>
16 {% for row in rows %}
17 <li>{{ macros.emoji_button("subscribe", row.channel_id, True) }}
18 {% if row.type == "channel" %}
19 <a href="/channel/{{ row.channel_id }}/">{{ row.author | e }}</a>
20 {% elif row.type == "playlist" %}
21 <a href="/playlist?list={{ row.channel_id }}">{{ row.author | e }}</a> <small>(playlist)</small>
22 {% endif %}
23 {% if row.subscribed_until %}
24 <abbr style="text-decoration:0" title="websub-subscription not renewed!">&#x1F6D1;&#xFE0F;</abbr>
25 {% endif %}
26 {% endfor %}
27 </ul>
28 {% endblock %}
Imprint / Impressum