]> git.parisson.com Git - teleforma.git/commitdiff
add steps icons
authoryomguy <yomguy@parisson.com>
Fri, 15 Feb 2013 14:44:12 +0000 (15:44 +0100)
committeryomguy <yomguy@parisson.com>
Fri, 15 Feb 2013 14:44:12 +0000 (15:44 +0100)
teleforma/templates/teleforma/inc/document_step.html
teleforma/templates/teleforma/inc/media_step.html

index be4c6d8aaa14ee6b48b66ae548031ae38c4aed89..7f8d4bdbac470869ec6dee8ba6321acc8ccddb9c 100644 (file)
@@ -5,7 +5,7 @@
     <tbody>
         {% for doc in docs.all %}
             <tr>
-            <td {% if forloop.first %}class="border-top"{% endif %} width="95%">{% if doc.file %}<a href="{% url teleforma-document-view seminar.id doc.id %}" target="_blank" title="{% trans "View" %}"><img src="{{ STATIC_URL }}/teleforma/images/application-msword.png" style="vertical-align:middle" alt="" />{% endif %} {{ doc.title }}{% if doc.file %}</a>{% endif %}</td>
+            <td {% if forloop.first %}class="border-top"{% endif %} width="95%">{% if doc.file %}<a href="{% url teleforma-document-view seminar.id doc.id %}" target="_blank" title="{% trans "View" %}"><img src="{{ STATIC_URL }}/teleforma/images/application-msword.png" style="vertical-align:middle" alt="" />{% endif %} {{ doc.title }}{% if doc.file %}</a>{% endif %}{% if user in doc.readers.all %} <img src="{{ STATIC_URL }}telemeta/images/ok.png" style="vertical-align:middle" alt="" title="{% trans ' viewed' %}" />{% endif %}</td>
             </tr>
         {% endfor %}
     </tbody>
index 8e5af06b33870ab623fb490cb182ac0bec1c20f3..ec92a34a6bb9cf1a679362612441294ce1d4aa43 100644 (file)
@@ -9,7 +9,7 @@
             <tr>
             <td {% if forloop.first %}class="border-top"{% endif %} width="230px" style="vertical-align:middle">
               <a href="{% url teleforma-media-video seminar.id media.id %}" target="_blank" title="{% trans "Play" %}">
-              <img src="{{ STATIC_URL }}/teleforma/images/tool-animator.png" style="vertical-align:middle" alt="" /> {{ media.item.title }}
+              <img src="{{ STATIC_URL }}/teleforma/images/tool-animator.png" style="vertical-align:middle" alt="" /> {{ media.item.title }}{% if user in media.readers.all %} <img src="{{ STATIC_URL }}telemeta/images/ok.png" style="vertical-align:middle" alt="" title="{% trans ' viewed' %}" />{% endif %}
             </a>
           </td>
           </tr>