Skip to content

Commit

Permalink
add space after colon in Twig maps
Browse files Browse the repository at this point in the history
  • Loading branch information
briskt committed Jul 2, 2024
1 parent fbf1a21 commit f98d444
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@

<div class="mdl-card__title center">
<p class="mdl-card__subtitle-text">
{{ '{mfa:running_out_info}'|trans({'%numBackupCodesRemaining%':numBackupCodesRemaining}) }}
{{ '{mfa:running_out_info}'|trans({'%numBackupCodesRemaining%': numBackupCodesRemaining}) }}
</p>
</div>

Expand Down
2 changes: 1 addition & 1 deletion modules/material/themes/material/mfa/new-backup-codes.twig
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
<div class="mdl-card mdl-shadow--8dp" style="min-height: 17em">
<div class="mdl-card__supporting-text ff-temp-flexbug-fix" layout-children="column" id="code-card">
<p class="fill-parent" layout-children="row">
<span flex>{{ '{mfa:account}'|trans({'%idpName%':idpName}) }}</span>
<span flex>{{ '{mfa:account}'|trans({'%idpName%': idpName}) }}</span>
<em class="mdl-typography--caption">{{ "now"|date("M j, Y") }}</em>
</p>

Expand Down
2 changes: 1 addition & 1 deletion modules/material/themes/material/mfa/send-manager-mfa.twig
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@

<div class="mdl-card__title center">
<p class="mdl-card__subtitle-text">
{{ '{mfa:manager_info}'|trans({'%managerEmail%':managerEmail})|raw }}
{{ '{mfa:manager_info}'|trans({'%managerEmail%': managerEmail})|raw }}
</p>
</div>

Expand Down
4 changes: 2 additions & 2 deletions modules/material/themes/material/profilereview/review.twig
Original file line number Diff line number Diff line change
Expand Up @@ -61,14 +61,14 @@
{{ mfa.label }}

{% if mfa.type == 'backupcode' %}
{{ '{review:remaining}'|trans({'%count%':mfa.data.count}) }}
{{ '{review:remaining}'|trans({'%count%': mfa.data.count}) }}
{% endif %}

<span class="mdl-list__item-text-body">
{% if mfa.last_used_utc is empty %}
{{ '{review:used_never}'|trans }}
{% else %}
{{ '{review:used}'|trans({'%when%':mfa.last_used_utc}) }}
{{ '{review:used}'|trans({'%when%': mfa.last_used_utc}) }}
{% endif %}
</span>
</span>
Expand Down

0 comments on commit f98d444

Please sign in to comment.