]> git.parisson.com Git - teleforma.git/commitdiff
bugfix
authorGuillaume Pellerin <guillaume.pellerin@parisson.com>
Fri, 4 Jul 2025 11:01:52 +0000 (13:01 +0200)
committerGuillaume Pellerin <guillaume.pellerin@parisson.com>
Fri, 4 Jul 2025 11:01:52 +0000 (13:01 +0200)
teleforma/webclass/templates/webclass/webclass_record.html

index 48145b99698dc7b142646e7d47c3e59bcf4873e3..3d730d279a695b3b3fdf1a20a94fb7a28b11fda5 100644 (file)
@@ -31,7 +31,7 @@
     </td>
     <td {% if forloop.first %}class="border-top"{% endif %} width="10%" align="center">
         {% if user.is_staff or user.professor.count %}
-            {% if record.obj._is_published %}
+            {% if record.obj.is_published %}
                 <img src="/static/teleforma/images/ok.png" style="vertical-align:middle" alt="" title="{% trans ' published' %}" />
             {% else %}
                 <img src="/static/teleforma/images/delete.png" style="vertical-align:middle" alt="" title="{% trans ' rejected' %}" />