Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Added links to PDF/ePub downloads thanks to RTD.

Also killed the "last updated" stuff since it was noise anyway.
  • Loading branch information...
commit 7ec1d75a6b3ed569557f860c67e9aeed348c37e5 1 parent 694d9f0
Jacob Kaplan-Moss authored August 15, 2011
22  django_website/docs/templates/docs/doc.html
@@ -110,10 +110,22 @@ <h2 id="comments">Questions/Feedback</h2>
110 110
         </li>
111 111
       {% endblock %}
112 112
     </ul>
113  
-  {% endblock %}
114  
-  
115  
-  {% block last-update-wrapper %}
116  
-    <h3>Last update:</h3>
117  
-    <div>{{ update_date|date:"F j, Y, P" }} (<a href="http://www.timeanddate.com/worldclock/city.html?n=64">{{ update_date|date:"T" }}</a>)</div>
  113
+
  114
+    {% if version != "1.1" and version != "1.0" %}
  115
+      <h2>Download:</h2>
  116
+      <p>
  117
+      {% if version %}
  118
+        Offline versions (Django {{ version }}):
  119
+        <a href="http://media.readthedocs.org/pdf/django/{{ version }}.X/django.pdf">PDF</a> | 
  120
+        <a href="http://media.readthedocs.org/epub/django/{{ version }}.X/django.epub">ePub</a>
  121
+      {% else %}
  122
+        Offline versions (Django development version):
  123
+        <a href="http://media.readthedocs.org/pdf/django/latest/django.pdf">PDF</a> | 
  124
+        <a href="http://media.readthedocs.org/epub/django/latest/django.epub">ePub</a>
  125
+      {% endif %}
  126
+      <br>
  127
+      <span class="quiet">Provided by <a href="http://readthedocs.org/">Read the Docs</a>.
  128
+      </p>
  129
+    {% endif %}
118 130
   {% endblock %}
119 131
 {% endblock %}

0 notes on commit 7ec1d75

Please sign in to comment.
Something went wrong with that request. Please try again.