From 58beea4ee96e6e92be5f0a24b37c27bf26f27ead Mon Sep 17 00:00:00 2001
From: Andreas <andreasv@fsmpi.rwth-aachen.de>
Date: Sun, 11 Sep 2016 22:06:41 +0200
Subject: [PATCH] a syntax error with string casting in jinja

---
 templates/index.html | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/templates/index.html b/templates/index.html
index f210007..c3ee031 100644
--- a/templates/index.html
+++ b/templates/index.html
@@ -18,7 +18,7 @@
 				<li class="pull-right">{{ valuedeletebtn(('announcements',msg.id,'deleted')) }}</li>
 				<li class="pull-right" style="padding-right: 5px;">
 					{% if not msg.visible %}
-						<a href="{{ url_for('edit', prefix='announcements.'+str(msg.id|string)+'.', ref=request.url, visible=1) }}" class="btn btn-primary">Veröffentlichen</a>
+						<a href="{{ url_for('edit', prefix='announcements.'+msg.id|string+'.', ref=request.url, visible=1) }}" class="btn btn-primary">Veröffentlichen</a>
 					{% elif msg.time_expire and msg.time_expire < datetime.now() %}
 						<a href="#" class="btn btn-danger disabled">Abgelaufen</a>
 					{% elif msg.time_publish and msg.time_publish > datetime.now() %}
-- 
GitLab