ttvdrops/templates/twitch/organization_detail.html

37 lines
1.3 KiB
HTML

{% extends "base.html" %}
{% block title %}
{{ organization.name }}
{% endblock title %}
{% block extra_head %}
{% if games %}
{% for game in games %}
<link rel="alternate"
type="application/rss+xml"
title="{{ game.display_name|default:game.name|default:game.twitch_id }} campaigns (RSS)"
href="{% url 'twitch:game_campaign_feed' game.twitch_id %}" />
<link rel="alternate"
type="application/atom+xml"
title="{{ game.display_name|default:game.name|default:game.twitch_id }} campaigns (Atom)"
href="{% url 'twitch:game_campaign_feed_atom' game.twitch_id %}" />
{% endfor %}
{% endif %}
{% endblock extra_head %}
{% block content %}
<h1 id="org-name">{{ organization.name }}</h1>
<theader>
<h2 id="games-header">Games by {{ organization.name }}</h2>
</theader>
<table id="games-table">
<tbody>
{% for game in games %}
<tr id="game-row-{{ game.twitch_id }}">
<td>
<a href="{% url 'twitch:game_detail' game.twitch_id %}">{{ game }}</a>
</td>
</tr>
{% endfor %}
</tbody>
</table>
<hr />
{{ org_data|safe }}
{% endblock content %}