Skip to content

Commit

Permalink
MDL-66770 mod_forum: move view selector out of settings drawer
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanwyllie committed Nov 1, 2019
1 parent 1aac58b commit 787762b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
5 changes: 0 additions & 5 deletions mod/forum/templates/discussion_settings_body_content.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -102,11 +102,6 @@
{{/istimelocked}}
{{/capabilities.manage}}

{{#modeselectorform}}
<h3 class="h6 mt-4 font-weight-bold">{{#str}} view, core {{/str}}</h3>
{{{.}}}
{{/modeselectorform}}

{{#movediscussion}}
<h3 class="h6 mt-4 font-weight-bold">{{#str}} move, core {{/str}}</h3>
{{{.}}}
Expand Down
4 changes: 3 additions & 1 deletion mod/forum/templates/forum_discussion_modern.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
}
}}

<div id="discussion-container-{{uniqid}}" data-content="forum-discussion" class="mt-4">
<div id="discussion-container-{{uniqid}}" data-content="forum-discussion">
{{#html}}
{{> mod_forum/discussion_settings_drawer}}
{{/html}}
Expand All @@ -39,6 +39,8 @@
{{> core/notification}}
{{/notifications}}

<div class="mb-5">{{{html.modeselectorform}}}</div>

{{{html.posts}}}
</div>
{{#js}}
Expand Down

0 comments on commit 787762b

Please sign in to comment.