Sha256: 8c6314ba3b678eb132239ece86116ec12e0a815e2b4a41f2b9367ac22e248efe

Contents?: true

Size: 1 KB

Versions: 190

Compression:

Stored size: 1 KB

Contents

{% assign file = page.fileName %}
{% assign lang = page.lang %}
{% assign folder = page.folderName %}
{% assign langData = site.data[folder][lang][file] %}
{%- assign langsupport = page.langsupport -%}
{%- assign variable = site.data.languagesupport[langsupport]-%}
{%- if variable.langsupport -%}
<div class="lang-dropdown">
  <button class="btn btn-light dropdown-toggle lang-dropdown-btn" type="button" id="dropdownMenu2" data-toggle="dropdown" aria-expanded="false">
    {{langData.Language}}
  </button>
  <ul class="dropdown-menu drop-down-wrapper" aria-labelledby="dropdownMenu2">
  {%- for item in variable.langsupport -%}
        {%- if langData.Language == item.lang -%}
        <a class="lang-dropdown-item py-1" style="background-color:rgba(149, 148, 151, 0.397);"  class=".lang-dropdown-item" href="{{item.permalink}}">{{item.lang}}</a>
        {%- else -%}
        <a  class="lang-dropdown-item py-1" href="{{item.permalink}}">{{item.lang}}</a>
        {%- endif -%}
  {%- endfor -%}
  </ul>
</div>
{%- endif -%}

Version data entries

190 entries across 190 versions & 2 rubygems

Version Path
appscms-tools-theme-3.3.8 _includes/dropdown/langdropdown.html
appscms-tools-theme-3.3.7 _includes/dropdown/langdropdown.html
appscms-tools-theme-3.3.6 _includes/dropdown/langdropdown.html
appscms-tools-theme-3.3.5 _includes/dropdown/langdropdown.html
appscms-tools-theme-3.3.4 _includes/dropdown/langdropdown.html
appscms-tools-theme-3.3.3 _includes/dropdown/langdropdown.html
appscms-tools-theme-3.3.2 _includes/dropdown/langdropdown.html
appscms-tools-theme-3.3.1 _includes/dropdown/langdropdown.html
appscms-tools-theme-3.3.0 _includes/dropdown/langdropdown.html
appscms-tools-theme-3.2.9 _includes/dropdown/langdropdown.html
appscms-tools-theme-3.2.8 _includes/dropdown/langdropdown.html
appscms-tools-theme-3.2.7 _includes/dropdown/langdropdown.html
appscms-tools-theme-3.2.6 _includes/dropdown/langdropdown.html
appscms-tools-theme-3.2.5 _includes/dropdown/langdropdown.html
appscms-tools-theme-3.2.4 _includes/dropdown/langdropdown.html
appscms-tools-theme-3.2.2 _includes/dropdown/langdropdown.html
appscms-tools-theme-3.2.1 _includes/dropdown/langdropdown.html
appscms-tools-theme-3.2.0 _includes/dropdown/langdropdown.html
appscms-tools-theme-3.1.9 _includes/dropdown/langdropdown.html
appscms-tools-theme-3.1.8 _includes/dropdown/langdropdown.html