summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2013-04-23 14:41:41 -0400
committerLuke Shumaker <LukeShu@sbcglobal.net>2013-04-23 14:41:41 -0400
commit0ae9dd61825b42efd0c113079854440ce6096a1d (patch)
tree01db6d2d55c91cc9d2c91277d51170cc95523df3
parent5d3362fd3a0d0536d7e01ad79dada871e6cfba95 (diff)
tweak
-rw-r--r--main/context_processors.py3
-rw-r--r--public/views.py2
-rw-r--r--settings.py3
-rw-r--r--templates/base.html2
4 files changed, 6 insertions, 4 deletions
diff --git a/main/context_processors.py b/main/context_processors.py
index 94e83e72..0804f483 100644
--- a/main/context_processors.py
+++ b/main/context_processors.py
@@ -4,8 +4,9 @@ def secure(request):
def branding(request):
from django.conf import settings
return {
- 'MAILMAN_BASE_URL': settings.MAILMAN_BASE_URL,
'BUGTRACKER_URL': settings.BUGTRACKER_URL,
+ 'MAILMAN_BASE_URL': settings.MAILMAN_BASE_URL,
+ 'PROJECTS_BASE_URL': settings.PROJECTS_URL,
'BRANDING_APPNAME': settings.BRANDING_APPNAME,
'BRANDING_DISTRONAME': settings.BRANDING_DISTRONAME,
diff --git a/public/views.py b/public/views.py
index ede8e697..2735d548 100644
--- a/public/views.py
+++ b/public/views.py
@@ -9,8 +9,6 @@ from django.http import Http404, HttpResponse
from django.shortcuts import render
from django.views.decorators.cache import cache_control, cache_page
-from django.views.generic.simple import direct_to_template
-
from devel.models import MasterKey, PGPSignature
from main.models import Arch, Repo, Donor
from mirrors.models import MirrorUrl
diff --git a/settings.py b/settings.py
index 5861452a..54881f3d 100644
--- a/settings.py
+++ b/settings.py
@@ -174,6 +174,9 @@ BUGTRACKER_URL = 'https://labs.parabola.nu/'
# URL for linking to the release engineering/iso project on the bugtracker
BUGTRACKER_RELENG_URL = 'https://labs.parabola.nu/projects/isos'
+# URL for linking to projects in git
+PROJECTS_URL = 'https://projects.parabolagnulinux.org'
+
# Trackers used for ISO download magnet links
TORRENT_TRACKERS = (
'udp://tracker.publicbt.com:80',
diff --git a/templates/base.html b/templates/base.html
index 24bae3e0..dd8e7a61 100644
--- a/templates/base.html
+++ b/templates/base.html
@@ -22,7 +22,7 @@
<li id="anb-packages"><a href="/packages/" title="{{ BRANDING_SHORTNAME }} Package Database">Packages</a></li>
<li id="anb-wiki"><a href="{% wiki_url %}" title="Community documentation">Wiki</a></li>
<li id="anb-bugs"><a href="{{ BUGTRACKER_URL }}" title="Report and track bugs">Bugs</a></li>
- <li id="anb-projects"><a href="https://projects.parabolagnulinux.org" title="Our Code">Projects</a></li>
+ <li id="anb-projects"><a href="{{ PROJECTS_URL }}" title="Our Code">Projects</a></li>
<li id="anb-download"><a href="{% url 'page-download' as pdl %}{{ pdl }}" title="Get {{ BRANDING_DISTRONAME }}">Download</a></li>
</ul>
</div>