mirror of
https://github.com/moodle/moodle.git
synced 2025-03-14 12:40:01 +01:00
MDL-72581 block_timeline: Update with the new activity icons
This commit is contained in:
parent
be2ff9eea0
commit
f3324d208b
@ -7,6 +7,11 @@
|
||||
#block-region-side-pre .block_timeline h6.event-action a.btn {
|
||||
width: auto;
|
||||
}
|
||||
/* Override the width/height of the .activityiconcontainer class in the timeline block. */
|
||||
.block_timeline .activityiconcontainer {
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
}
|
||||
|
||||
.block_timeline .timeline-action-button {
|
||||
margin-left: auto;
|
||||
|
@ -42,7 +42,8 @@
|
||||
"component": "mod_assign",
|
||||
"alttext": "Assignment icon"
|
||||
},
|
||||
"overdue": false
|
||||
"overdue": false,
|
||||
"purpose": "assessment"
|
||||
}
|
||||
}}
|
||||
<div class="list-group-item timeline-event-list-item flex-column pt-2 pb-0 border-0 {{#courseview}}px-0{{/courseview}}{{^courseview}}px-2{{/courseview}}"
|
||||
@ -52,7 +53,7 @@
|
||||
<small class="text-right text-nowrap align-self-center ml-1">
|
||||
{{#userdate}} {{timesort}}, {{#str}} strftimetime24, core_langconfig {{/str}} {{/userdate}}
|
||||
</small>
|
||||
<div class="icon-size-4 align-self-top align-self-center mx-2 text-nowrap">
|
||||
<div class="activityiconcontainer {{purpose}} courseicon align-self-top align-self-center mx-3 mb-1 mb-sm-0 text-nowrap">
|
||||
{{#icon}}{{#pix}} {{key}}, {{component}}, {{alttext}} {{/pix}}{{/icon}}
|
||||
</div>
|
||||
<div class="event-name-container flex-grow-1 line-height-3 nowrap text-truncate">
|
||||
|
Loading…
x
Reference in New Issue
Block a user