forked from Scifabric/pybossa-default-theme
-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #14 from bloomberg/merge-branch
Merge branch
- Loading branch information
Showing
21 changed files
with
364 additions
and
64 deletions.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
{% extends "account/email/base.html" %} | ||
|
||
{% block subject %} | ||
Your personal data files | ||
{% endblock %} | ||
|
||
{% block subtitle %} | ||
Hi {{user.fullname}}, | ||
{% endblock %} | ||
|
||
{% block body %} | ||
<p>You have recently requested to export all the data that we have from you in our server.</p> | ||
|
||
{% if personal_data_link %} | ||
<p>In the following link, you will be able to download ZIP file that contains your personal data (the link will be only valid for {{config.TTL_ZIP_SEC_FILES}} days).</p> | ||
|
||
<ul> | ||
<li>Personal Data: {{personal_data_link}}</li> | ||
</ul> | ||
{% else %} | ||
<p>Attached you will find a ZIP file that contains your personal data.</p> | ||
{% endif %} | ||
|
||
<p>Within the ZIP file you will find your data in JSON format. You can open those files with any text editor, as this format is an open standard.</p> | ||
|
||
<p>If you want to get new updated versions of this file, just export again your data.</p> | ||
|
||
<p>All the best,</p> | ||
|
||
<p>{{ config.BRAND }} Team | ||
{% endblock %} |
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,19 @@ | ||
Hi {{user.fullname}}, | ||
|
||
You have recently requested to export all the data that we have from you in our server. | ||
|
||
{% if personal_data_link %} | ||
In the following links, you will be able to download ZIP files that contains your personal data (the links will be only valid for {{config.TTL_ZIP_SEC_FILES}} days). | ||
|
||
Personal Data: {{personal_data_link}} | ||
{% else %} | ||
Attached you will find a ZIP file that contains your personal data. | ||
{% endif %} | ||
|
||
Within the ZIP file you will find your data in JSON format. You can open those files with any text editor, as this format is an open standard. | ||
|
||
If you want to get new updated versions of the file, just export again your data. | ||
|
||
All the best, | ||
|
||
{{ config.BRAND }} Team |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
{% extends "projects/base.html" %} | ||
{% set active_page = "projects" %} | ||
{% set active_project = project.short_name %} | ||
{% set active_link = 'tasks' %} | ||
{% set section = _('Import tasks') %} | ||
|
||
{% from "_formhelpers.html" import render_form %} | ||
{% block projectcontent %} | ||
{{ helper.render_loading(loading_text) }} | ||
<h3>{{_('From a IIIF manifest')}}</h3> | ||
<span class="help-inline">{{_('For more information, please look at')}} <a href="http://docs.pybossa.com/user/overview/#importing-the-tasks-from-a-iiif-manifest" target="_blank">{{_('the documentation')}}.</a></span> | ||
{{ render_form(form, action_url=url_for(target, short_name=project.short_name), action_text=_('Import'), btn_class="btn btn-primary") }} | ||
{% endblock %} | ||
|
||
{% block extrajs %} | ||
<script> | ||
$("#submit").off('click').on('click', function(){ | ||
var msg = "{{_('Importing data...')}}"; | ||
pybossaNotify(msg, true, "loading"); | ||
}); | ||
</script> | ||
{% endblock %} |
Oops, something went wrong.