Skip to content

Commit

Permalink
Merge branch 'MDL-61343-master' of git://github.com/Kathrin84/moodle
Browse files Browse the repository at this point in the history
  • Loading branch information
David Monllao committed Apr 10, 2018
2 parents fd91aab + ea91e4f commit e7d1054
Showing 1 changed file with 12 additions and 11 deletions.
23 changes: 12 additions & 11 deletions theme/boost/templates/flat_navigation.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -64,27 +64,28 @@
{{#action}}
<a class="list-group-item list-group-item-action {{#isactive}}font-weight-bold{{/isactive}}" href="{{{action}}}" data-key="{{key}}" data-isexpandable="{{isexpandable}}" data-indent="{{get_indent}}" data-showdivider="{{showdivider}}" data-type="{{type}}" data-nodetype="{{nodetype}}" data-collapse="{{collapse}}" data-forceopen="{{forceopen}}" data-isactive="{{isactive}}" data-hidden="{{hidden}}" data-preceedwithhr="{{preceedwithhr}}" {{#parent.key}}data-parent-key="{{.}}"{{/parent.key}}>
<div class="m-l-{{get_indent}}">
<div class="media">
{{#is_section}}
<div class="media">
<span class="media-left">
{{#pix}}i/folder{{/pix}}
</span>
<span class="media-body">{{{text}}}</span>
</div>
{{/is_section}}
{{^is_section}}
{{{text}}}
<span class="media-left">
{{#pix}}i/folder{{/pix}}
</span>
{{/is_section}}
<span class="media-body">{{{text}}}</span>
</div>
</div>
</a>
{{/action}}
{{^action}}
<div class="list-group-item" data-key="{{key}}" data-isexpandable="{{isexpandable}}" data-indent="{{get_indent}}" data-showdivider="{{showdivider}}" data-type="{{type}}" data-nodetype="{{nodetype}}" data-collapse="{{collapse}}" data-forceopen="{{forceopen}}" data-isactive="{{isactive}}" data-hidden="{{hidden}}" data-preceedwithhr="{{preceedwithhr}}" {{#parent.key}}data-parent-key="{{.}}"{{/parent.key}}>
<div class="m-l-{{get_indent}}">
<div class="media">
{{#is_section}}
{{#pix}}i/folder{{/pix}}
<span class="media-left">
{{#pix}}i/folder{{/pix}}
</span>
{{/is_section}}
{{{text}}}
<span class="media-body">{{{text}}}</span>
</div>
</div>
</div>
{{/action}}
Expand Down

0 comments on commit e7d1054

Please sign in to comment.