diff --git a/templates/twitch/badge_list.html b/templates/twitch/badge_list.html index c6da862..b7a8226 100644 --- a/templates/twitch/badge_list.html +++ b/templates/twitch/badge_list.html @@ -8,26 +8,26 @@ {% if badge_sets %} {% for data in badge_data %}

- {{ data.set.set_id }} + [{{ data.set.set_id }}]

- - {% for badge in data.badges %} + {% for badge in data.badges %} +
- {% endfor %} -
- {% picture badge.image_url_4x alt=badge.title width=36 %} + {% picture badge.image_url_4x alt=badge.title width=36 height=36 %} {{ badge.title }} {% if badge.description != badge.title %} -
+
{{ badge.description }} {% endif %}
+ + {% endfor %}
{% if data.badges|length > 1 %}versions: {{ data.badges|length }}{% endif %} {% endfor %} diff --git a/templates/twitch/badge_set_detail.html b/templates/twitch/badge_set_detail.html index ef3e57c..5a8f847 100644 --- a/templates/twitch/badge_set_detail.html +++ b/templates/twitch/badge_set_detail.html @@ -6,7 +6,25 @@ {% block content %}

{{ badge_set.set_id }}

{% if badges %} +

+ {{ badges.count }} + {% if badges.count == 1 %} + version + {% else %} + versions + {% endif %} +

+ + + + + + + + + + {% for badge in badges %} @@ -14,7 +32,7 @@ {{ badge.badge_id }} diff --git a/templates/twitch/dashboard.html b/templates/twitch/dashboard.html index 473f899..64ee193 100644 --- a/templates/twitch/dashboard.html +++ b/templates/twitch/dashboard.html @@ -16,13 +16,19 @@ {% endblock extra_head %} {% block content %}
-

Active Twitch Drops Campaigns

+

Twitch Drops

+
+Latest drops are shown first within each game. Click on a campaign or game title to see more details.
+Hover over the end time to see the exact date and time.
+
-
+
[rss - all campaigns] + style="margin-right: 1rem" + title="RSS feed for all campaigns">RSS feed for campaigns +  |  [atom - all campaigns] + title="Atom feed for campaigns">Atom feed for campaigns
{% if campaigns_by_game %} {% for game_id, game_data in campaigns_by_game.items %} diff --git a/templates/twitch/game_detail.html b/templates/twitch/game_detail.html index 3f18c0f..da3b2fa 100644 --- a/templates/twitch/game_detail.html +++ b/templates/twitch/game_detail.html @@ -21,6 +21,14 @@ {{ game.display_name }} {% if game.display_name != game.name and game.name %}({{ game.name }}){% endif %} + +
+ RSS feed for {{ game.display_name }} campaigns +  |  + Atom feed for {{ game.display_name }} campaigns +
{% if game.box_art_best_url %} {% picture game.box_art_best_url alt=game.name width=160 %} @@ -35,13 +43,6 @@ {% endfor %} {% endif %} - -
- [rss - {{ game.display_name|default:game.name|lower }}] - [atom - {{ game.display_name|default:game.name|lower }}] -
{% if active_campaigns %}
Active Campaigns
IDTitleDescriptionImagesAction
- {% picture badge.image_url_4x alt=badge.title width=72 style="width: 72px !important; height: 72px !important; object-fit: contain" %} + {% picture badge.image_url_4x alt=badge.title width=72 height=72 style="width: 72px !important; height: 72px !important; object-fit: contain" %} {{ badge.title }} {{ badge.description }}
diff --git a/templates/twitch/org_list.html b/templates/twitch/org_list.html index 88a5ab5..1a9e142 100644 --- a/templates/twitch/org_list.html +++ b/templates/twitch/org_list.html @@ -3,21 +3,26 @@ Organizations {% endblock title %} {% block content %} -

Organizations

-
+

Organizations

+ +
[rss] + style="margin-right: 1rem" + title="RSS feed for all organizations">RSS feed for organizations [atom] +
+ +
[csv] [json]
{% if orgs %} -