Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] Consider re-addition of Google Drive integration #28

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion hashtagsv2/hashtags/templates/hashtags/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
{% load url_replace %}

{% block content %}
<script src="https://apis.google.com/js/platform.js" async defer></script>
<div class="container">
{% if messages %}
{% for message in messages %}
Expand Down Expand Up @@ -84,7 +85,12 @@ <h2>
#{{ query }}
{% endfor %}
</h2>
<a href="csv/?{{ query_string }}">Download CSV</a>
<a href="csv/?{{ query_string }}">Download CSV</a><br>
<div class="g-savetodrive"
data-src="csv/?{{ query_string }}"
data-filename="hashtags.csv"
data-sitename="Wikimedia hashtag search">
</div>
</div>
<div class="one-third column">
<p class="stats-date-range">{{ oldest }} - {{ newest }}</p>
Expand Down