-
Notifications
You must be signed in to change notification settings - Fork 58
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Per ad per day advertiser table/export
- Loading branch information
1 parent
c8cd6f2
commit 15629d7
Showing
6 changed files
with
87 additions
and
0 deletions.
There are no files selected for viewing
37 changes: 37 additions & 0 deletions
37
adserver/templates/adserver/reports/advertiser-per-ad.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,37 @@ | ||
{% extends "adserver/reports/advertiser.html" %} | ||
{% load humanize %} | ||
{% load i18n %} | ||
{% load metabase %} | ||
|
||
|
||
{% block title %}{% trans 'Advertiser Per Ad Per Day Report' %} - {{ advertiser }}{% endblock %} | ||
|
||
|
||
{% block heading %} | ||
{% blocktrans %}Advertiser Per Ad Per Day Report for {{ advertiser }}{% endblocktrans %} | ||
{% endblock heading %} | ||
|
||
{% block breadcrumbs %} | ||
{{ block.super }} | ||
<li class="breadcrumb-item active">{% trans 'Per Ad Per Day Report' %}</li> | ||
{% endblock breadcrumbs %} | ||
|
||
|
||
{% block explainer %} | ||
<section class="mb-5"> | ||
<h3>{% trans 'About this report' %}</h3> | ||
<p>{% trans 'This report shows a table of data with one entry for each ad for every day that ad is shown. The data can be exported to CSV/Excel for further analysis with the icon at the bottom right.' %}</p> | ||
</section> | ||
{% endblock explainer %} | ||
|
||
|
||
{% block report %}{% endblock report %} | ||
|
||
|
||
{% block summary %} | ||
<div class="row mb-5"> | ||
<div class="col min-vh-100"> | ||
{% metabase_question_embed metabase_advertiser_per_ad advertiser_slug=advertiser.slug start_date=start_date end_date=end_date %} | ||
</div> | ||
</div> | ||
{% endblock summary %} |
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
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