diff --git a/templates/base.html b/templates/base.html index cd3ca9234a..abb70ad19d 100644 --- a/templates/base.html +++ b/templates/base.html @@ -46,6 +46,8 @@ + + {% block header %}{% endblock %} diff --git a/templates/objectives/skills/tree.html b/templates/objectives/skills/tree.html new file mode 100644 index 0000000000..baf9c4325c --- /dev/null +++ b/templates/objectives/skills/tree.html @@ -0,0 +1,108 @@ +{% extends "base.html" %} + +{% block content %} +
+
+

{{ skill.short_label }}

+

{{ skill.notation }}

+
+
+
+
+ +
+
+

Notation : {{ skill.notation }}

+
+
+

Difficulty : {{ skill.difficulty }}

+
+
+

Level : {{ skill.level }}

+
+
+

Rank : {{ skill.level }}

+ + +
+
+
+ +
+ {% if skill.prerequisites.all or skill.educatives.all %} +
+
+

Prerequisites

+
    + {% if skill.prerequisites.all %} + {% for prerequisites in skill.prerequisites.all %} +
  • {{ prerequisites.short_label }}
  • + {% endfor %} + {% else %} +

    No prerequisites defined.

    + {% endif %} +
+
+
+

Educatives

+
    + {% if skill.educatives.all %} + {% for educatives in skill.educatives.all %} +
  • {{ educatives.short_label }}
  • + {% endfor %} + {% else %} +

    No educative defined.

    + {% endif %} +
+
+
+ {% endif %} +
+
+

From {{ skill.departure }}, {% if skill.rotation %} {{ skill.rotation }} quart of {{ skill.get_rotation_type_display }} rotation {% endif %}{% if skill.twist %} with {{ skill.twist }} half-twist {% endif %} in a {{ skill.get_position_display }} position, landing to {{ skill.landing }}

+
+ {% if skill.informations %} + {{ skill.to_markdown | safe }} + {% else %} +

No more informations provided for this skill.

+ {% endif %} +
+
+
+
+ +{% endblock %} + +{% block footerscript %} + +{% endblock %}