Skip to content

Commit

Permalink
[BUGFIX] Avoid text-muted for unavailable languages
Browse files Browse the repository at this point in the history
  • Loading branch information
benjaminkott committed Jun 1, 2023
1 parent 344fef8 commit 7d4e95c
Show file tree
Hide file tree
Showing 7 changed files with 208 additions and 199 deletions.
2 changes: 1 addition & 1 deletion Resources/Private/Partials/Page/Navigation/Language.html
Expand Up @@ -2,7 +2,7 @@
<f:if condition="{languagenavigation}">
<ul id="language_menu" class="language-menu">
<f:for each="{languagenavigation}" as="item">
<li class="{f:if(condition: item.active, then: 'active')} {f:if(condition: item.available, else: 'text-muted')}">
<li class="{f:if(condition: item.active, then: 'active')} {f:if(condition: item.available, else: 'inactive')}">
<f:if condition="{item.available}">
<f:then>
<a href="{item.link}" hreflang="{item.hreflang}" title="{item.title}">
Expand Down

0 comments on commit 7d4e95c

Please sign in to comment.