Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Tweaked the offline template a bit.

  • Loading branch information...
commit 2ccfd675a3ad5508167a0d77652b134940cfbd50 1 parent b6d6a70
@jacobian jacobian authored
Showing with 6 additions and 6 deletions.
  1. +6 −6 django_website/docs/templates/docs/doc.html
View
12 django_website/docs/templates/docs/doc.html
@@ -114,14 +114,14 @@ <h2 id="comments">Questions/Feedback</h2>
{% if version != "1.1" and version != "1.0" %}
<h2>Download:</h2>
<p>
- {% if version %}
- Offline versions (Django {{ version }}):
- <a href="http://media.readthedocs.org/pdf/django/{{ version }}.X/django.pdf">PDF</a> |
- <a href="http://media.readthedocs.org/epub/django/{{ version }}.X/django.epub">ePub</a>
- {% else %}
- Offline versions (Django development version):
+ {% if version == "dev" %}
+ Offline (development version):
<a href="http://media.readthedocs.org/pdf/django/latest/django.pdf">PDF</a> |
<a href="http://media.readthedocs.org/epub/django/latest/django.epub">ePub</a>
+ {% else %}
+ Offline (Django {{ version }}):
+ <a href="http://media.readthedocs.org/pdf/django/{{ version }}.X/django.pdf">PDF</a> |
+ <a href="http://media.readthedocs.org/epub/django/{{ version }}.X/django.epub">ePub</a>
{% endif %}
<br>
<span class="quiet">Provided by <a href="http://readthedocs.org/">Read the Docs</a>.
Please sign in to comment.
Something went wrong with that request. Please try again.