-
Notifications
You must be signed in to change notification settings - Fork 61
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
73cc33c
commit 12df4e2
Showing
7 changed files
with
188 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
46 changes: 46 additions & 0 deletions
46
adserver/templates/adserver/reports/advertiser-domain.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
{% extends "adserver/reports/advertiser.html" %} | ||
{% load humanize %} | ||
{% load i18n %} | ||
|
||
|
||
{% block title %}{% trans 'Advertiser Domain Report' %} - {{ advertiser }}{% endblock %} | ||
|
||
|
||
{% block heading %} | ||
{% blocktrans %}Advertiser Domain Report for {{ advertiser }}{% endblocktrans %} | ||
{% endblock heading %} | ||
|
||
{% block breadcrumbs %} | ||
{{ block.super }} | ||
<li class="breadcrumb-item active">{% trans 'Advertiser Domain Report' %}</li> | ||
{% endblock breadcrumbs %} | ||
|
||
|
||
{% block additional_filters %} | ||
{{ block.super }} | ||
|
||
<div class="col-xl-3 col-md-6 col-12 mb-3"> | ||
<label class="col-form-label" for="id_flight">{% trans 'Flight' %}</label> | ||
<select class="form-control" name="flight" id="id_flight"> | ||
<option value="">{% trans 'All flights' %}</option> | ||
{% for flight in flights %} | ||
<option value="{{ flight.slug }}"{% if flight.slug == request.GET.flight %} selected{% endif %}>{{ flight.name }}</option> | ||
{% endfor %} | ||
</select> | ||
</div> | ||
|
||
{% endblock additional_filters %} | ||
|
||
|
||
{% block explainer %} | ||
<section class="mb-5"> | ||
<h3>{% trans 'About this report' %}</h3> | ||
<p>{% trans 'This report shows the top domains where your ads are shown.' %}</p> | ||
<em> | ||
{% blocktrans %}This report shows the <strong>top {{ limit }} domains</strong> and updates daily. All previous days data is complete.{% endblocktrans %} | ||
</em> | ||
</section> | ||
{% endblock explainer %} | ||
|
||
|
||
{% block report %}{% endblock report %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters