From: Radek Czajka Date: Tue, 3 Aug 2010 10:44:58 +0000 (+0200) Subject: added REDMINE_URL to document_details_* context X-Git-Url: https://git.mdrn.pl/redakcja.git/commitdiff_plain/f81186d554e7c427b78359c11e00b5086ef84b47?hp=20222de6f21f5a4bbbc55386e9792d43b47faf17 added REDMINE_URL to document_details_* context --- 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, })