From f81186d554e7c427b78359c11e00b5086ef84b47 Mon Sep 17 00:00:00 2001 From: Radek Czajka Date: Tue, 3 Aug 2010 12:44:58 +0200 Subject: [PATCH] added REDMINE_URL to document_details_* context --- apps/wiki/views.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apps/wiki/views.py b/apps/wiki/views.py index b78959fb..48e05c5c 100644 --- a/apps/wiki/views.py +++ b/apps/wiki/views.py @@ -84,6 +84,7 @@ def editor(request, name, template_name='wiki/document_details.html'): "text_save": DocumentTextSaveForm(prefix="textsave"), "add_tag": DocumentTagForm(prefix="addtag"), }, + 'REDMINE_URL': settings.REDMINE_URL, }) @@ -113,6 +114,7 @@ def editor_readonly(request, name, template_name='wiki/document_details_readonly 'document_name': document.name, 'document_info': dict(document.info(), readonly=True), 'document_meta': document.meta, + 'REDMINE_URL': settings.REDMINE_URL, }) -- 2.20.1