@gov-cy/govcy-frontend-renderer 1.1.0 → 1.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -3325,7 +3325,14 @@ else {
|
|
|
3325
3325
|
t_15 += "#";
|
|
3326
3326
|
;
|
|
3327
3327
|
}
|
|
3328
|
-
t_15 += "\"
|
|
3328
|
+
t_15 += "\"";
|
|
3329
|
+
if(runtime.memberLookup((t_19),"classes")) {
|
|
3330
|
+
t_15 += "class=\"";
|
|
3331
|
+
t_15 += runtime.suppressValue(runtime.memberLookup((t_19),"classes"), env.opts.autoescape);
|
|
3332
|
+
t_15 += "\"";
|
|
3333
|
+
;
|
|
3334
|
+
}
|
|
3335
|
+
t_15 += ">";
|
|
3329
3336
|
t_15 += runtime.suppressValue((lineno = 108, colno = 39, runtime.callWrap(runtime.contextOrFrameLookup(context, frame, "govcyLocalizeContent"), "govcyLocalizeContent", context, [runtime.memberLookup((t_19),"text"),l_lang])), env.opts.autoescape);
|
|
3330
3337
|
if(runtime.memberLookup((t_19),"visuallyHiddenText")) {
|
|
3331
3338
|
t_15 += "\r\n <span class=\"govcy-visually-hidden\"> ";
|
package/package.json
CHANGED
|
@@ -104,7 +104,7 @@
|
|
|
104
104
|
{%- for action in actions %}
|
|
105
105
|
<li class="list-inline-item">
|
|
106
106
|
{#- render href -#}
|
|
107
|
-
<a href="{% if action.href %}{{ action.href }}{% else %}#{% endif %}">
|
|
107
|
+
<a href="{% if action.href %}{{ action.href }}{% else %}#{% endif %}"{% if action.classes %}class="{{ action.classes }}"{% endif %}>
|
|
108
108
|
{#- render content -#}
|
|
109
109
|
{{ govcyLocalizeContent(action.text, lang) }}
|
|
110
110
|
{#- If visuallyHiddenText is set -#}
|