Skip to content

Commit

Permalink
Merge branch 'MDL-77891-master' of https://github.com/snake/moodle
Browse files Browse the repository at this point in the history
  • Loading branch information
junpataleta committed Sep 27, 2023
2 parents 3c7b5c9 + 3866803 commit e02ea67
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 2 deletions.
12 changes: 11 additions & 1 deletion calendar/templates/event_icon.mustache
Expand Up @@ -34,7 +34,17 @@
}
}}
{{#modulename}}
{{#pix}} monologo, {{modulename}} {{/pix}}
{{#icon}}
{{#iconurl}}
<img alt="{{alttext}}" title="{{alttext}}" src="{{{ iconurl }}}" class="icon {{iconclass}}">
{{/iconurl}}
{{^iconurl}}
{{#pix}} monologo, {{modulename}} {{/pix}}
{{/iconurl}}
{{/icon}}
{{^icon}}
{{#pix}} monologo, {{modulename}} {{/pix}}
{{/icon}}
{{/modulename}}
{{^modulename}}
{{#icon}}{{#pix}} {{key}}, {{component}}, {{alttext}} {{/pix}}{{/icon}}
Expand Down
11 changes: 10 additions & 1 deletion calendar/templates/event_item.mustache
Expand Up @@ -75,7 +75,16 @@
{{/isactionevent}}
{{/canedit}}
</div>
{{#icon}}<div class="d-inline-block mt-1 align-top">{{#pix}} {{key}}, {{component}}, {{alttext}} {{/pix}}</div>{{/icon}}
{{#icon}}
<div class="d-inline-block mt-1 align-top">
{{#iconurl}}
<img alt="{{alttext}}" title="{{alttext}}" src="{{{iconurl}}}" class="icon {{iconclass}}">
{{/iconurl}}
{{^iconurl}}
{{#pix}} {{key}}, {{component}}, {{alttext}} {{/pix}}
{{/iconurl}}
</div>
{{/icon}}
<div class="d-inline-block">
<h3 class="name d-inline-block">{{{name}}}</h3>
</div>
Expand Down

0 comments on commit e02ea67

Please sign in to comment.