From 51f3f2cc9a543469094bcf0590d2d9e5064a7b12 Mon Sep 17 00:00:00 2001 From: David Fischer Date: Wed, 13 Nov 2024 14:44:25 -0800 Subject: [PATCH] Add a visual cue for renewing flights on listview --- adserver/templates/adserver/advertiser/flight-list.html | 2 ++ adserver/templates/adserver/advertiser/overview.html | 3 +++ 2 files changed, 5 insertions(+) diff --git a/adserver/templates/adserver/advertiser/flight-list.html b/adserver/templates/adserver/advertiser/flight-list.html index acb441eb..c6f6e750 100644 --- a/adserver/templates/adserver/advertiser/flight-list.html +++ b/adserver/templates/adserver/advertiser/flight-list.html @@ -56,6 +56,8 @@

{% block heading %}{% trans "Manage advertising flights" %}{% endblock headi {{ flight.name }} {% if not flight.live %} + {% elif flight.auto_renew %} + {% endif %} {{ flight.start_date }} diff --git a/adserver/templates/adserver/advertiser/overview.html b/adserver/templates/adserver/advertiser/overview.html index fe3e88a0..76a1780b 100644 --- a/adserver/templates/adserver/advertiser/overview.html +++ b/adserver/templates/adserver/advertiser/overview.html @@ -123,6 +123,9 @@

{% blocktrans %}{{ state }} flights{% endblocktrans %} {{ flight.name }} + {% if flight.auto_renew %} + + {% endif %} {{ flight.end_date }} {{ flight.ctr|floatformat:3 }}%