Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fixed small bug in djangodocs doc.html template where the generated U…

…RLs would have two slashes together if docurl was empty. I'm just hard-coding the URLs to be more efficient.

git-svn-id: http://code.djangoproject.com/svn/djangoproject.com@12143 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 78f3f8e70d2b870d57c417fab44526a92cc53b0d 1 parent 0e06809
authored January 09, 2010

Showing 1 changed file with 4 additions and 4 deletions. Show diff stats Hide diff stats

  1. 8  djangodocs/templates/docs/doc.html
8  djangodocs/templates/docs/doc.html
@@ -42,11 +42,11 @@ <h2 class="deck">
42 42
   {% ifequal version "dev" %}
43 43
     This document is for Django's development version, which can be
44 44
     significantly different from previous releases. Get old docs here:
45  
-    <a href="{% url document-detail lang=lang, version="1.1", url=docurl %}">1.1</a>,
46  
-    <a href="{% url document-detail lang=lang, version="1.0", url=docurl %}">1.0</a>
  45
+    <a href="/en/1.1/{{ docurl }}">1.1</a>,
  46
+    <a href="/en/1.0/{{ docurl }}">1.0</a>
47 47
   {% else %}
48 48
     This document describes Django {{ version }}. For development docs, 
49  
-    <a href="{% url document-detail lang=lang, version="dev", url=docurl %}">go here</a>.
  49
+    <a href="/en/dev/{{ docurl }}">go here</a>.
50 50
   {% endifequal %}
51 51
   </h2>
52 52
   {{ doc.body|safe }}
@@ -57,7 +57,7 @@ <h2 id="comments">Questions/Feedback</h2>
57 57
   <p>Having trouble? We'd like to help!</p>
58 58
   <ul>
59 59
     <li>
60  
-      Try the <a href="/en/dev/faq/">FAQ</a> — it's got answers to many common
  60
+      Try the <a href="/en/dev/faq/">FAQ</a> -— it's got answers to many common
61 61
       questions.
62 62
     </li>
63 63
     <li>

0 notes on commit 78f3f8e

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