Skip to content

Commit 823a285

Browse files
committed
replace deprecated classes
1 parent bc3b5a2 commit 823a285

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

templates/discussions.mustache

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737

3838
{{#discussions}}
3939
<div class="moodleoverflowdiscussion d-flex border p-2 mb-3" data-moodleoverflow-postid="{{postid}}">
40-
<div class="leftbox text-center mr-2">
40+
<div class="leftbox text-center me-2">
4141
<div class="votes text-center mb-1">
4242
{{> mod_moodleoverflow/postvoting }}
4343
</div>
@@ -77,9 +77,9 @@
7777
</div>
7878
<div class="w-100 d-flex flex-column justify-content-between">
7979
<div class="d-flex justify-content-between">
80-
<a class="subject mb-3 mr-3" href="{{{subjectlink}}}">{{{ subjecttext }}}</a>
80+
<a class="subject mb-3 me-3" href="{{{subjectlink}}}">{{{ subjecttext }}}</a>
8181

82-
<div class="pt-2 text-right">
82+
<div class="pt-2 text-end">
8383
{{#cansubtodiscussion}}
8484
<div class="discussionsubscription">{{{discussionsubicon}}}</div>
8585
{{/cansubtodiscussion}}
@@ -95,7 +95,7 @@
9595
</a>
9696
<a class="d-inline-block mt-3" href="{{ unreadlink }}"
9797
title="{{#str}}amount_unread_posts_in_discussion, mod_moodleoverflow, {{unreadamount}} {{/str}}">
98-
<span class="fa fa-envelope icon mr-0 moodleoverflow-icon-1_5x text-muted">
98+
<span class="fa fa-envelope icon me-0 moodleoverflow-icon-1_5x text-muted">
9999
</span><span class="unread-bubble">
100100
{{ unreadamount }}
101101
</span>

templates/reject_post_form.mustache

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
placeholder="{{#str}} give_a_reason, mod_moodleoverflow {{/str}}"
3535
></textarea>
3636
<div class="d-flex mt-2">
37-
<a class="btn btn-danger mr-2" data-moodleoverflow-action="reject-submit">{{#str}}reject, mod_moodleoverflow{{/str}}</a>
37+
<a class="btn btn-danger me-2" data-moodleoverflow-action="reject-submit">{{#str}}reject, mod_moodleoverflow{{/str}}</a>
3838
<a class="btn btn-secondary" data-moodleoverflow-action="reject-cancel">{{#str}}cancel{{/str}}</a>
3939
</div>
4040
</div>

0 commit comments

Comments
 (0)