Skip to content

Commit

Permalink
#2504 removed the download issue zip feature.
Browse files Browse the repository at this point in the history
  • Loading branch information
ajrbyers committed Oct 19, 2021
1 parent 92743fd commit 986515d
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 6 deletions.
1 change: 0 additions & 1 deletion src/journal/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@
url(r'^issues/$', views.issues, name='journal_issues'),
url(r'^issue/current/$', views.current_issue, name='current_issue'),
url(r'^issue/(?P<issue_id>\d+)/info/$', views.issue, name='journal_issue'),
url(r'^issue/(?P<issue_id>\d+)/download/$', views.download_issue, name='journal_issue_download'),
url(r'^issue/(?P<issue_id>\d+)/download/(?P<galley_id>\d+)$',
views.download_issue_galley,
name='journal_issue_download_galley'),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
<div class="section">
<h3>{% trans 'Downloads' %}</h3>
{% if issue.galley %}<p><a href="{% url 'journal_issue_download_galley' issue.pk issue.galley.pk %}"><i class="fa fa-download">&nbsp</i>{% trans "Download Issue" %} (PDF)</a></p>{% endif %}
<p><a href="{% url 'journal_issue_download' issue.pk %}"><i class="fa fa-download">&nbsp</i>{% trans "Download Issue" %} (ZIP)</a></p>
<h3>
{% if issue.issue_type.code == 'issue' %}{% trans "Issue Archive" %}
{% else %} {% trans issue.issue_type.plural_name %}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
<div class="section">
<h3>{% trans 'Downloads' %}</h3>
{% if issue.galley %}<p><a href="{% url 'journal_issue_download_galley' issue.pk issue.galley.pk %}"><span class="fa fa-download">&nbsp</span>Download Issue (PDF)</a></p>{% endif %}
<p><a href="{% url 'journal_issue_download' issue.pk %}"><span class="fa fa-download">&nbsp</span>Download Issue (ZIP)</a></p>
<h3>
{% if issue.issue_type.code == 'issue' %}{% trans "Issue Archive" %}
{% else %} {% trans issue.issue_type.plural_name %}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,6 @@ <h3>{% trans 'Downloads' %}</h3>
<a href="{% url 'journal_issue_download_galley' issue.pk issue.galley.pk %}"><i class="fa fa-download">&nbsp</i> {% trans "Download" %} {% if not collection %}{% trans "Issue" %}{% else %}{% with col=journal_settings.general.collection_name %}{% if col %}{{ col }}{% else %}{% with col=journal_settings.general.collection_name %}{% if col %}{{ col }}{% else %}{% trans "Collection" %}{% endif %}{% endwith %}{% endif %}{% endwith %}{% endif %} (PDF)</a>
<li>
{% endif %}
</li>
<a href="{% url 'journal_issue_download' issue.pk %}"><i class="fa fa-download">&nbsp</i> {% trans "Download" %} {% if not collection %}{% trans "Issue" %}{% else %}{% with col=journal_settings.general.collection_name %}{% if col %}{{ col }}{% else %}{% with col=journal_settings.general.collection_name %}{% if col %}{{ col }}{% else %}{% trans "Collection" %}{% endif %}{% endwith %}{% endif %}{% endwith %}{% endif %} (ZIP)</a>
</li>
</ul>

<h3>
Expand Down

0 comments on commit 986515d

Please sign in to comment.