Skip to content

Commit

Permalink
TTK-27389: Add object type to choose url from LMS
Browse files Browse the repository at this point in the history
  • Loading branch information
albacodina committed Dec 13, 2024
1 parent bf14195 commit c88cc8d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{% if is_naked() and mm.containsAnyTagWithCodes(['PUCHOPENEDX', 'PUCHMOODLE', 'PUCHLMS'])%}
<td headers="th-icons" style="width: 1em;">
<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>
</td>
{% endif %}
{% endif %}
</td>
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

<div class="{% if is_naked() %}col-xs-6{% else %}{{ col_calculator(objectByCol|default(1)) }}{% endif %} image_representation">
<div class="thumbnail">
<a class="multimediaobject" href="{{ videoPath }}" title="{{ videoTitle }}">
<a class="multimediaobject {{ object.getStringType(object.getType())|lower }}" href="{{ videoPath }}" title="{{ videoTitle }}">
<div>
<div class="embed-responsive embed-responsive-16by9">
<div class="embed-responsive-item text-center">
Expand Down

0 comments on commit c88cc8d

Please sign in to comment.