move 856 documentation to template from settings
parent
2c75ecb9ce
commit
1307ae7091
|
@ -89,7 +89,7 @@ ul.local li {
|
|||
<br />
|
||||
{% endfor %}
|
||||
<input type="submit" name="submit" value="Download" id="submit">
|
||||
<span id="unsubmit"><img src="/static/images/loading.gif"> Fetching record(s)...</span>
|
||||
<span id="unsubmit"><img src="/static/images/loading.gif" alt="spinning wheel" /> Fetching record(s)...</span>
|
||||
</form>
|
||||
</div>
|
||||
{% else %}
|
||||
|
@ -106,9 +106,8 @@ ul.local li {
|
|||
|
||||
<p>The options are:</p>
|
||||
<ul class="local">
|
||||
{% for choice in MARC_CHOICES %}
|
||||
<li>{{ choice.1 }}</li>
|
||||
{% endfor %}
|
||||
<li> Raw link. MARC records link direct to provider (one click, no help) </li>
|
||||
<li> Unglue.it link. MARC records link through Unglue.it download page (extra click, context sensitive help for getting files onto user's device)</li>
|
||||
</ul>
|
||||
|
||||
<p>You can <a href="{% url marc_config %}">change your preferences here</a>.</p>
|
||||
|
|
|
@ -2623,7 +2623,7 @@ def marc(request):
|
|||
return render(
|
||||
request,
|
||||
'marc.html',
|
||||
{'records': records, 'MARC_CHOICES': settings.MARC_CHOICES, 'libpref' : libpref }
|
||||
{'records': records, 'libpref' : libpref }
|
||||
)
|
||||
|
||||
class MARCUngluifyView(FormView):
|
||||
|
|
|
@ -388,7 +388,7 @@ CONTENT_TYPES = {
|
|||
|
||||
# if you add more of these, make sure core/ungluify_record.py can deal
|
||||
MARC_CHOICES = (
|
||||
('DIRECT', 'MARC records link direct to provider (one click, limited help)'),
|
||||
('UNGLUE', "MARC records link to Unglue.it download page (more clicks, help for getting files onto user's device)"),
|
||||
('DIRECT', 'Raw link'),
|
||||
('UNGLUE', 'Unglue.it link'),
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in New Issue