2016-05-26 16:19:33 +00:00
|
|
|
{% extends 'basedocumentation.html' %}
|
|
|
|
|
|
|
|
{% block title %}Work-linked Surveys {% endblock %}
|
|
|
|
|
|
|
|
{% block topsection %}
|
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
{% block doccontent %}
|
|
|
|
|
|
|
|
<h1>unglue.it Survey Tools </h1>
|
|
|
|
{% if request.user.is_anonymous %}
|
|
|
|
|
|
|
|
<span class="errorlist">You must be logged in to use survey tools</span>
|
|
|
|
{% endif %}
|
|
|
|
<h2 id="open_campaigns">Works You Can Use for Surveys</h2>
|
|
|
|
<dl>
|
|
|
|
{% for work in works %}
|
|
|
|
|
|
|
|
<dt><a href="{% url 'work' work.id %}">{{ work }}</a></dt>
|
|
|
|
<dd>
|
|
|
|
<dl>
|
|
|
|
{% for landing in work.landings.all %}
|
|
|
|
<dt>Configured survey: {{ landing }} </dt>
|
2016-06-13 18:32:29 +00:00
|
|
|
<dd>Link: {{ landing.url }}<br />
|
|
|
|
Completed {{ landing.runinfohistory_set.all.count }} times</dd>
|
2016-05-26 16:19:33 +00:00
|
|
|
{% endfor %}
|
|
|
|
</dl>
|
|
|
|
<a href="{% url 'new_survey' work.id %}">Set up a new survey</a> for this work.
|
|
|
|
|
|
|
|
</dd>
|
|
|
|
{% empty %}
|
|
|
|
<dt>No works available</dt>
|
|
|
|
<dd>To run a survey for a book, you need to be an unglue.it rights holder and claim the book</dd>
|
|
|
|
{% endfor %}
|
|
|
|
</dl>
|
2016-06-13 21:34:51 +00:00
|
|
|
<p>
|
2016-05-26 16:19:33 +00:00
|
|
|
<a href="{% url 'new_survey' '' %}">Set up a survey</a> using isbn.
|
2016-06-13 21:34:51 +00:00
|
|
|
</p>
|
|
|
|
<p>
|
|
|
|
Add "?next=https://example.com/any_url" to the end of a survey url to add a redirect on completion of the survey.
|
|
|
|
</p>
|
2016-05-26 16:19:33 +00:00
|
|
|
{% endblock %}
|