diff --git a/openslides/motion/templates/motion/motion_detail.html b/openslides/motion/templates/motion/motion_detail.html index d392cb9bf..1c56f8568 100644 --- a/openslides/motion/templates/motion/motion_detail.html +++ b/openslides/motion/templates/motion/motion_detail.html @@ -16,6 +16,7 @@ {% else %} [{% trans "no number" %}], {% endif %} + {# TODO: show only for complex workflow #} {% trans "Version" %} {{ motion.version.version_number }} @@ -56,11 +57,20 @@ - + {# TODO: show only for complex workflow #} {% if motion.version.version_number < motion.last_version.version_number %} - {% trans "This is not the newest version." %} {% trans "Go to version" %} {{ motion.last_version.version_number }}. - {% else %} - {% trans "This is not the authorized version." %} {% trans "Go to version" %} {{ motion.active_version.version_number }}. + + {% trans "This is not the newest version." %} + + {% trans "Go to last version" %} + (#{{ motion.last_version.version_number }}) + {% endif %} + {% if motion.version.version_number > motion.active_version.version_number %} + + {% trans "This version is not yet authorized." %} + + {% trans "Go to last authorized version" %} + (#{{ motion.active_version.version_number }}) {% endif %}