Add rewards to more pages as we have support for them now
All checks were successful
Deploy to Server / deploy (push) Successful in 26s

This commit is contained in:
Joakim Hellsén 2026-06-14 20:48:46 +02:00
commit 37c1390100
Signed by: Joakim Hellsén
SSH key fingerprint: SHA256:/9h/CsExpFp+PRhsfA0xznFx2CGfTT5R/kpuFfUgEQk
16 changed files with 966 additions and 216 deletions

View file

@ -127,11 +127,15 @@
{% if game %}
<section>
<h2>Filtered RSS Feeds</h2>
<p>You can subscribe to RSS feeds scoped to a specific game.</p>
<p>
You can subscribe to RSS feeds scoped to a specific game.
The Rewards feed will be empty if the game has no active reward campaigns.
</p>
<table>
<thead>
<tr>
<th>Game</th>
<th>Feed Type</th>
<th>RSS</th>
<th>Atom</th>
<th>Discord</th>
@ -139,20 +143,39 @@
</thead>
<tbody>
<tr>
<td>{{ game.display_name }}</td>
<td rowspan="2">{{ game.display_name }}</td>
<td>Campaigns</td>
<td>
<a href="{% url 'core:game_campaign_feed' game.twitch_id %}">
https://ttvdrops.lovinator.space/rss/games/{{ game.twitch_id }}/
https://ttvdrops.lovinator.space/rss/games/{{ game.twitch_id }}/campaigns/
</a>
</td>
<td>
<a href="{% url 'core:game_campaign_feed_atom' game.twitch_id %}">
https://ttvdrops.lovinator.space/atom/games/{{ game.twitch_id }}/
https://ttvdrops.lovinator.space/atom/games/{{ game.twitch_id }}/campaigns/
</a>
</td>
<td>
<a href="{% url 'core:game_campaign_feed_discord' game.twitch_id %}">
https://ttvdrops.lovinator.space/discord/games/{{ game.twitch_id }}/
https://ttvdrops.lovinator.space/discord/games/{{ game.twitch_id }}/campaigns/
</a>
</td>
</tr>
<tr>
<td>Rewards</td>
<td>
<a href="{% url 'core:game_reward_feed' game.twitch_id %}">
https://ttvdrops.lovinator.space/rss/games/{{ game.twitch_id }}/rewards/
</a>
</td>
<td>
<a href="{% url 'core:game_reward_feed_atom' game.twitch_id %}">
https://ttvdrops.lovinator.space/atom/games/{{ game.twitch_id }}/rewards/
</a>
</td>
<td>
<a href="{% url 'core:game_reward_feed_discord' game.twitch_id %}">
https://ttvdrops.lovinator.space/discord/games/{{ game.twitch_id }}/rewards/
</a>
</td>
</tr>