mirror of
https://github.com/moodle/moodle.git
synced 2025-03-24 09:30:17 +01:00
MDL-68200 mod_forum: remove address tags
Reasons: - The element “h4” must not appear as a descendant of the “address” element - This element should not contain more information than the contact information, like a publication date (which belongs in a <time> element) element)
This commit is contained in:
parent
9f2a68feb4
commit
79364d4cdc
@ -77,7 +77,7 @@
|
||||
<header id="post-header-{{id}}-{{uniqid}}">
|
||||
{{^isdeleted}}
|
||||
<div class="d-flex flex-wrap align-items-center mb-1">
|
||||
<address class="mb-0 mr-2" tabindex="-1">
|
||||
<div class="mr-2" tabindex="-1">
|
||||
{{#author}}
|
||||
<h4 class="h6 d-lg-inline-block mb-0 author-header mr-1">
|
||||
{{#parentauthorname}}
|
||||
@ -108,7 +108,7 @@
|
||||
<time class="text-muted">
|
||||
{{#userdate}} {{timecreated}}, {{#str}} strftimerecentfull, core_langconfig {{/str}} {{/userdate}}
|
||||
</time>
|
||||
</address>
|
||||
</div>
|
||||
|
||||
<div class="d-flex align-items-center ml-auto">
|
||||
{{#author.groups}}
|
||||
|
@ -76,14 +76,14 @@
|
||||
}}>{{$subject}}{{{subject}}}{{/subject}}</h3>
|
||||
{{/subjectheading}}
|
||||
{{^isdeleted}}
|
||||
<address tabindex="-1">
|
||||
<div class="mb-3" tabindex="-1">
|
||||
{{#html.authorsubheading}}{{{.}}}{{/html.authorsubheading}}
|
||||
{{^html.authorsubheading}}
|
||||
<time>
|
||||
{{#userdate}} {{timecreated}}, {{#str}} strftimedaydatetime, core_langconfig {{/str}} {{/userdate}}
|
||||
</time>
|
||||
{{/html.authorsubheading}}
|
||||
</address>
|
||||
</div>
|
||||
{{/isdeleted}}
|
||||
{{#isprivatereply}}
|
||||
<div class="privatereplyinfo">
|
||||
|
@ -38,9 +38,7 @@
|
||||
>
|
||||
<a href="{{{urls.viewisolated}}}">{{subject}}</a>
|
||||
{{^isdeleted}}
|
||||
<address class="d-inline-block mb-0">
|
||||
{{{html.authorsubheading}}}
|
||||
</address>
|
||||
{{{html.authorsubheading}}}
|
||||
{{/isdeleted}}
|
||||
|
||||
<div data-region="replies-container">
|
||||
|
Loading…
x
Reference in New Issue
Block a user