]> git.parisson.com Git - teleforma.git/commitdiff
Change sequence title : https://trackers.pilotsystems.net/prebarreau/0548
authorYoan Le Clanche <yoanl@pilotsystems.net>
Wed, 12 Oct 2022 09:31:30 +0000 (11:31 +0200)
committerYoan Le Clanche <yoanl@pilotsystems.net>
Wed, 12 Oct 2022 09:31:30 +0000 (11:31 +0200)
teleforma/templates/teleforma/inc/steps.html

index 2fc9bcbd422d062abf905df91abf2d29baa077f7..8bf8d33d9bcfc320edb954eeb3f43dee9154e01d 100644 (file)
@@ -7,7 +7,8 @@
   <div class="sequences">
     {% for part in parts %}
       {% if part.accessible %}
-        <h3>Séquence {{ part.index }}</h3>
+        
+        <h3>{% if part.object.title %}{{ part.object.title }}{% else %}Séquence {{ part.index }}{% endif %}</h3>
 
         {% with part.object.docs_1 as docs %}
         <div class="course_subtitle">