mirror of
https://github.com/moodle/moodle.git
synced 2025-04-13 20:42:22 +02:00
Merge branch 'MDL-78460' of https://github.com/paulholden/moodle
This commit is contained in:
commit
a6affc9271
@ -222,7 +222,7 @@
|
||||
<span>
|
||||
<button class="btn badge badge-primary rounded border-0" data-region="timed-label"
|
||||
data-toggle="popover" data-container="body" data-placement="right" data-html="true"
|
||||
data-content={{#quote}}{{#discussion.timed}}{{#discussion.times}}{{> mod_forum/discussion_times}}{{/discussion.times}}{{/discussion.timed}}{{/quote}}
|
||||
data-content="{{#discussion.timed}}{{#discussion.times}}{{> mod_forum/discussion_times}}{{/discussion.times}}{{/discussion.timed}}"
|
||||
data-trigger="click" aria-label="{{#str}}timeddiscussion, forum{{/str}}" title="{{#str}}timeddiscussion, forum{{/str}}">
|
||||
{{#str}}timed, forum{{/str}}
|
||||
</button>
|
||||
|
@ -17,7 +17,8 @@
|
||||
{{!
|
||||
@template mod_forum/discussion_times
|
||||
|
||||
Template to display the discussion times.
|
||||
Template to display the discussion times. Note that this template is used only as a partial from within discussion_list, which
|
||||
requires the language strings be passed through the cleanstr helper
|
||||
|
||||
Classes required for JS:
|
||||
* none
|
||||
@ -40,20 +41,20 @@
|
||||
<ul>
|
||||
{{#start}}
|
||||
<li>
|
||||
{{#str}} displaystartdate, mod_forum, {{#userdate}}{{.}}, {{#str}}strftimerecentfull {{/str}}{{/userdate}} {{/str}}
|
||||
{{#cleanstr}} displaystartdate, mod_forum, {{#userdate}}{{.}}, {{#str}}strftimerecentfull {{/str}}{{/userdate}} {{/cleanstr}}
|
||||
</li>
|
||||
{{/start}}
|
||||
{{#end}}
|
||||
<li>
|
||||
{{#str}} displayenddate, mod_forum, {{#userdate}}{{.}}, {{#str}}strftimerecentfull {{/str}}{{/userdate}} {{/str}}
|
||||
{{#cleanstr}} displayenddate, mod_forum, {{#userdate}}{{.}}, {{#str}}strftimerecentfull {{/str}}{{/userdate}} {{/cleanstr}}
|
||||
</li>
|
||||
{{/end}}
|
||||
<li>
|
||||
{{#visible}}
|
||||
{{#str}} timedvisible, mod_forum {{/str}}
|
||||
{{#cleanstr}} timedvisible, mod_forum {{/cleanstr}}
|
||||
{{/visible}}
|
||||
{{^visible}}
|
||||
{{#str}} timedhidden, mod_forum {{/str}}
|
||||
{{#cleanstr}} timedhidden, mod_forum {{/cleanstr}}
|
||||
{{/visible}}
|
||||
</li>
|
||||
</ul>
|
||||
|
Loading…
x
Reference in New Issue
Block a user