Skip to content

Commit

Permalink
IBX-1152: Added back label in anchor navigation (#155)
Browse files Browse the repository at this point in the history
  • Loading branch information
dew326 authored Jan 3, 2022
1 parent 9601720 commit 9c511b9
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
8 changes: 4 additions & 4 deletions src/bundle/Resources/translations/messages.en.xliff
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@
<note>The source node in most cases contains the sample message as written by the developer. If it looks like a dot-delimitted string such as "form.label.firstname", then the developer has not provided a default message.</note>
</header>
<body>
<trans-unit id="9177237415bf4199961eb8de9353011a5b22a039" resname="anchor_navigation.close">
<source>Close</source>
<target state="new">Close</target>
<note>key: anchor_navigation.close</note>
<trans-unit id="9177237415bf4199961eb8de9353011a5b22a039" resname="anchor_navigation.back">
<source>Back</source>
<target state="new">Back</target>
<note>key: anchor_navigation.back</note>
</trans-unit>
<trans-unit id="8ace6daf300d4e12a28054d996c185db9ce7fe91" resname="authentication.credentials_expire_in.warning">
<source>Your current password will expire in %days% day(s). You can change it in User Settings/My Account Settings.</source>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,15 @@
<div class="ibexa-anchor-navigation-menu__header">
{% if close_href is defined %}
<a
class="btn ibexa-btn ibexa-btn--no-text ibexa-anchor-navigation-menu__back"
class="btn ibexa-btn ibexa-btn--ghost ibexa-anchor-navigation-menu__back"
href="{{ close_href }}"
title="{{ 'anchor_navigation.close'|trans|desc('Close') }}"
>
<svg class="ibexa-icon ibexa-icon--small">
<use xlink:href="{{ ibexa_icon_path('discard') }}"></use>
</svg>
<span class="ibexa-btn__label">
{{ 'anchor_navigation.back'|trans|desc('Back') }}
</span>
</a>
{% endif %}
</div>
Expand Down

0 comments on commit 9c511b9

Please sign in to comment.