Skip to content

Commit

Permalink
TTK-27443: Fix multimedia object table (#694)
Browse files Browse the repository at this point in the history
  • Loading branch information
albacodina authored Dec 19, 2024
1 parent 153f19d commit c95bbd6
Showing 1 changed file with 7 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<td headers="th-icons" style="width: 1em;">
{% if is_naked() and mm.containsAnyTagWithCodes(['PUCHOPENEDX', 'PUCHMOODLE', 'PUCHLMS'])%}
<a class="moodlepr-add" href="#" title="{% trans %}Publish to LMS{% endtrans %}" onclick="parent.window.postMessage({'mmId': '{{ mm.id }}'}, '*'); return false;"><i class="mdi-editor-insert-photo"></i></a>
{% endif %}
</td>
{% if is_naked() %}
<td headers="th-icons" style="width: 1em;">
{% if mm.containsAnyTagWithCodes(['PUCHOPENEDX', 'PUCHMOODLE', 'PUCHLMS'])%}
<a class="moodlepr-add" href="#" title="{% trans %}Publish to LMS{% endtrans %}" onclick="parent.window.postMessage({'mmId': '{{ mm.id }}'}, '*'); return false;"><i class="mdi-editor-insert-photo"></i></a>
{% endif %}
</td>
{% endif %}

0 comments on commit c95bbd6

Please sign in to comment.