diff --git a/packages/ui-default/templates/training_main.html b/packages/ui-default/templates/training_main.html index d61b1fc4f..2b3762d2e 100644 --- a/packages/ui-default/templates/training_main.html +++ b/packages/ui-default/templates/training_main.html @@ -52,6 +52,23 @@
+ {% if handler.user.hasPerm(perm.PERM_CREATE_TRAINING) %} +
+
+

{{ _('Create Training Plan') }}

+
+ +
+
+

{{ _('You can create your own training plans and share them with others.') }}

+
+
+
+ {% endif %} {% if handler.user.hasPriv(PRIV.PRIV_USER_PROFILE) %}
@@ -77,23 +94,6 @@
{% endif %} - {% if handler.user.hasPerm(perm.PERM_CREATE_TRAINING) %} -
-
-

{{ _('Create Training Plan') }}

-
- -
-
-

{{ _('You can create your own training plans and share them with others.') }}

-
-
-
- {% endif %}
{% endblock %}