mirror of
https://github.com/moodle/moodle.git
synced 2025-04-13 04:22:07 +02:00
MDL-73632 core_comment: useravatar styles new comments
This commit is contained in:
parent
4f9a539600
commit
6f3a7998af
@ -587,7 +587,7 @@ class comment {
|
||||
$c->fullname = fullname($u);
|
||||
$c->time = userdate($c->timecreated, $c->strftimeformat);
|
||||
$c->content = format_text($c->content, $c->format, $formatoptions);
|
||||
$c->avatar = $OUTPUT->user_picture($u, array('size'=>18));
|
||||
$c->avatar = $OUTPUT->user_picture($u, array('size' => 16));
|
||||
$c->userid = $u->id;
|
||||
|
||||
if ($this->can_delete($c)) {
|
||||
@ -928,7 +928,7 @@ class comment {
|
||||
$strdelete = get_string('deletecommentbyon', 'moodle', (object)['user' => $cmt->fullname, 'time' => $cmt->time]);
|
||||
$deletelink = html_writer::start_tag('div', array('class'=>'comment-delete'));
|
||||
$deletelink .= html_writer::start_tag('a', array('href' => '#', 'id' => 'comment-delete-'.$this->cid.'-'.$cmt->id,
|
||||
'title' => $strdelete));
|
||||
'class' => 'icon-no-margin', 'title' => $strdelete));
|
||||
|
||||
$deletelink .= $OUTPUT->pix_icon('t/delete', get_string('delete'));
|
||||
$deletelink .= html_writer::end_tag('a');
|
||||
|
@ -657,8 +657,8 @@ table.mod_index {
|
||||
}
|
||||
|
||||
.comment-message .picture {
|
||||
width: 20px;
|
||||
float: left;
|
||||
margin-right: 0.25rem;
|
||||
}
|
||||
|
||||
.comment-message .text {
|
||||
|
@ -1172,6 +1172,7 @@ div#dock {
|
||||
font-weight: normal;
|
||||
&.size-16,
|
||||
&.size-30 {
|
||||
font-size: 0.7rem;
|
||||
width: 30px;
|
||||
height: 30px;
|
||||
}
|
||||
|
@ -10416,8 +10416,8 @@ table.mod_index {
|
||||
border: 1px solid #ccc; }
|
||||
|
||||
.comment-message .picture {
|
||||
width: 20px;
|
||||
float: left; }
|
||||
float: left;
|
||||
margin-right: 0.25rem; }
|
||||
|
||||
.comment-message .text {
|
||||
margin: 0;
|
||||
@ -18471,6 +18471,7 @@ div#dock {
|
||||
color: #343a40;
|
||||
font-weight: normal; }
|
||||
.userinitials.size-16, .userinitials.size-30 {
|
||||
font-size: 0.7rem;
|
||||
width: 30px;
|
||||
height: 30px; }
|
||||
.userinitials.size-35 {
|
||||
|
@ -10416,8 +10416,8 @@ table.mod_index {
|
||||
border: 1px solid #ccc; }
|
||||
|
||||
.comment-message .picture {
|
||||
width: 20px;
|
||||
float: left; }
|
||||
float: left;
|
||||
margin-right: 0.25rem; }
|
||||
|
||||
.comment-message .text {
|
||||
margin: 0;
|
||||
@ -18471,6 +18471,7 @@ div#dock {
|
||||
color: #343a40;
|
||||
font-weight: normal; }
|
||||
.userinitials.size-16, .userinitials.size-30 {
|
||||
font-size: 0.7rem;
|
||||
width: 30px;
|
||||
height: 30px; }
|
||||
.userinitials.size-35 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user