From 20d7a3b5390a02e59c40215caa02d5348c169b21 Mon Sep 17 00:00:00 2001 From: Emanuel Schuetze Date: Mon, 29 Jul 2013 09:06:36 +0200 Subject: [PATCH] Add paragraph around each motion version warning (to show each warning in one line). --- openslides/motion/templates/motion/motion_detail.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/openslides/motion/templates/motion/motion_detail.html b/openslides/motion/templates/motion/motion_detail.html index cb1de90d1..f849e6cec 100644 --- a/openslides/motion/templates/motion/motion_detail.html +++ b/openslides/motion/templates/motion/motion_detail.html @@ -69,18 +69,18 @@ {# TODO: show only for workflow with versioning #} {% with last_version=motion.get_last_version active_version=motion.get_active_version %} {% if version.version_number != last_version.version_number %} - +

{% trans "This is not the newest version." %} {% trans "Go to the newest version" %} - (# {{ last_version.version_number }}) + (# {{ last_version.version_number }})

{% endif %} {% if version.version_number != active_version.version_number %} - +

{% trans "This version is not authorized." %} {% trans "Go to the authorized version" %} - (# {{ active_version.version_number }}) + (# {{ active_version.version_number }})

{% endif %} {% endwith %}