Skip to content

Commit 1f06664

Browse files
authored
Merge pull request #1007 from readthedocs/overview-move
Only show "Month to date overview" when there is an overview
2 parents 91cab58 + 005b2dd commit 1f06664

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

adserver/templates/adserver/publisher/overview.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
{% block content_container %}
2424
<section>
2525
<h1>{% blocktrans with month=start_date|date:"F" %}{{ month }} {{ publisher }} overview{% endblocktrans %}</h1>
26-
<p><small>Month to date overview for {{ publisher }}.</small></p>
2726

2827
{% if publisher_new %}
2928
{# Publisher onboarding workflow #}
@@ -70,6 +69,7 @@ <h3>{% trans 'Welcome back.' %}</h3>
7069
</div>
7170
</div>
7271
{% else %}
72+
<p><small>Month to date overview for {{ publisher }}.</small></p>
7373
<div class="row">
7474
<div class="col min-vh-75">
7575
{% metabase_dashboard_embed metabase_publisher_dashboard publisher_slug=publisher.slug start_date=start_date end_date=end_date %}

0 commit comments

Comments
 (0)