mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-11-25 08:05:51 +00:00
0e5ef398b2
Now that there is a Link.mustache, I think other components like Button, Link should use the Icon template, and not include icon in the name, as its possible to have a link or button that doesnt use an icon as well. Change-Id: I6d8a17dd956f09bb3df7a2503f55d255599874f8
6 lines
129 B
Plaintext
6 lines
129 B
Plaintext
<a data-mw="interface"
|
|
href="{{href}}"
|
|
{{{html-attributes}}}>{{!
|
|
}}{{#icon}}{{>Icon}}{{/icon}}<span>{{text}}</span>{{!
|
|
}}</a>
|