From cb6df87f948756e8d680a4bb594698ae93a9aad0 Mon Sep 17 00:00:00 2001
From: Dan McGee
Date: Thu, 11 Mar 2010 21:15:11 -0600
Subject: Switch some hardcoded urls to url tag usage
Signed-off-by: Dan McGee
---
templates/base.html | 6 +++---
templates/public/index.html | 20 ++++++++++----------
urls.py | 2 +-
3 files changed, 14 insertions(+), 14 deletions(-)
diff --git a/templates/base.html b/templates/base.html
index 39b2a625..cc5fadd2 100644
--- a/templates/base.html
+++ b/templates/base.html
@@ -7,7 +7,7 @@
-
+
{% block head %}
{% endblock %}
@@ -24,7 +24,7 @@
Wiki
Bugs
AUR
- Download
+ Download
{% endblock %}
@@ -32,7 +32,7 @@
{% if user.is_authenticated %}
- Dashboard
- - News
+ - News
- Signoffs
- Todos
- Archives
diff --git a/templates/public/index.html b/templates/public/index.html
index e708e4e7..9ba1380b 100644
--- a/templates/public/index.html
+++ b/templates/public/index.html
@@ -24,7 +24,7 @@ Welcome to Arch!
to get your feet wet. Also glance through our wiki
if you want to learn more about Arch.
- Learn more...
+ Learn more...
@@ -40,7 +40,7 @@
{{ news.content|striptags|truncatewords:60 }}
{% endfor %}
- More News...
+ More News...
{% endblock %}
@@ -64,7 +64,7 @@
{% endfor %}
- More Feeds... |
+ More Feeds... |
More Updates... |
@@ -74,7 +74,7 @@
Dev Links:
Support Arch:
Community Links:
@@ -111,11 +111,11 @@ Community Links:
Development:
diff --git a/urls.py b/urls.py
index 5a8ccdfd..a84e8e17 100644
--- a/urls.py
+++ b/urls.py
@@ -112,7 +112,7 @@
(r'^irc/$', direct_to_template, {'template': 'public/irc.html'}, 'page-irc'),
(r'^moreforums/$', 'public.views.moreforums', {}, 'page-forums'),
(r'^projects/$', 'public.views.projects', {}, 'page-projects'),
- (r'^opensearch/packages/$', 'packages.views.opensearch'),
+ (r'^opensearch/packages/$', 'packages.views.opensearch', {}, 'opensearch-packages'),
# Some django internals we use
(r'^jsi18n/$', 'django.views.i18n.null_javascript_catalog'),
--
cgit v1.2.3-54-g00ecf