MDL-59685 users: Enrolment info link missing href

Href is required so that CSS can style these as clickable links (hand icon).

I also used comments to collapse the whitespace before and after the icons.
This commit is contained in:
Damyon Wiese 2017-08-14 11:57:47 +08:00
parent f3625f47c5
commit 47cb325821

View File

@ -60,12 +60,12 @@
<div data-fullname="{{fullname}}" data-coursename="{{coursename}}" data-enrolinstancename="{{enrolinstancename}}"
data-status="{{status}}" data-timestart="{{timestart}}" data-timeend="{{timeend}}">
<span class="label {{#active}}label-success{{/active}}{{#suspended}}label-warning{{/suspended}}{{#notcurrent}}label-default{{/notcurrent}}">{{status}}</span>
<a data-action="showdetails" role="button" tabindex="0">
{{#pix}}docs, core, {{#str}}enroldetails, enrol{{/str}}{{/pix}}
</a>
<a data-action="showdetails" href="#" role="button" tabindex="0">{{!
}}{{#pix}}docs, core, {{#str}}enroldetails, enrol{{/str}}{{/pix}}{{!
}}</a>
{{#enrolactions}}
<a href="{{url}}" role="button" {{#attributes}}{{name}}="{{value}}" {{/attributes}}>
{{{icon}}}
</a>
<a href="{{url}}" role="button" {{#attributes}}{{name}}="{{value}}" {{/attributes}}>{{!
}}{{{icon}}}{{!
}}</a>
{{/enrolactions}}
</div>