]> git.parisson.com Git - teleforma.git/commitdiff
fix chars
authorGuillaume Pellerin <yomguy@parisson.com>
Mon, 16 Dec 2013 22:53:35 +0000 (23:53 +0100)
committerGuillaume Pellerin <yomguy@parisson.com>
Mon, 16 Dec 2013 22:53:35 +0000 (23:53 +0100)
teleforma/templates/teleforma/answer_detail.html

index db0244a9886adb32dfe13bd8ec9726aeaaa51dbb..865bf89d85685a8eecbf723446e6a08ce5cdb255 100644 (file)
@@ -33,7 +33,7 @@ $('#reject').unbind('click').click(function() {
 
 <div class="course_content">
   <div class="course_subtitle">
-   <h3><img src="{{ STATIC_URL }}telemeta/images/item_title.png" width="10px" alt="" /> {{ answer.question|safe }} ({{ answer.question.min_nchar }} {% trans "characters" %})</h3>
+   <h3><img src="{{ STATIC_URL }}telemeta/images/item_title.png" width="10px" alt="" /> {{ answer.question|safe }}</h3>
   </div>
   <div style="text-align: justify; padding: 0.5em">
     {{ answer.question.question|safe }}
@@ -44,7 +44,7 @@ $('#reject').unbind('click').click(function() {
 
 <div class="course_content">
 <div class="course_subtitle">
-   <h3><img src="{{ STATIC_URL }}telemeta/images/item_title.png" width="10px" alt="" /> {% trans "Answer" %}{% if answer.question.rank %} n° {{ answer.question.rank }}{% endif %} ({{ answer.answer|length }} {% trans "characters" %})</h3>
+   <h3><img src="{{ STATIC_URL }}telemeta/images/item_title.png" width="10px" alt="" /> {% trans "Answer" %}{% if answer.question.rank %} n° {{ answer.question.rank }}{% endif %} ({{ answer.answer|length }}/{{ answer.question.min_nchar }} {% trans "characters" %})</h3>
   </div>
   <div style="text-align: justify; padding: 0.5em;">
     {{ answer.answer|safe }}