]> git.parisson.com Git - teleforma.git/commitdiff
add rank
authoryomguy <yomguy@parisson.com>
Thu, 21 Feb 2013 07:53:23 +0000 (08:53 +0100)
committeryomguy <yomguy@parisson.com>
Thu, 21 Feb 2013 07:53:23 +0000 (08:53 +0100)
teleforma/templates/teleforma/answer_form.html

index 86ce17aab7ac223ddcd71789dfb98d86ce8e8ea7..8419b66666a98aa2ceee193dd4763a634544e39f 100644 (file)
@@ -77,7 +77,7 @@ $(document).ready(function(){
 
 <div class="course_content">
   <div class="course_subtitle">
-   <h3><img src="{{ STATIC_URL }}telemeta/images/item_title.png" width="10px" alt="" /> {% trans "Step" %} 4 : {% trans "answer to this question" %} ({{question.min_nchar}} {% trans "characters" %} {% trans "minimum" %})</h3>
+   <h3><img src="{{ STATIC_URL }}telemeta/images/item_title.png" width="10px" alt="" /> {% trans "Step" %} 4 : {% trans "answer to this question" %}{% if question.rank %} n°{{ question.rank }}{% endif %} ({{question.min_nchar}} {% trans "characters" %} {% trans "minimum" %})</h3>
   </div>
   <div style="text-align: justify; width: 100%;">
     {{ question.question|safe }}