{% comment %} This file is licensed under the MIT License (MIT) available on http://opensource.org/licenses/MIT. {% endcomment %} {% if page.id == "choose-your-wallet" or page.id == 'wallets-desktop-desktop' or page.id == 'wallets-mobile-mobile' %} {% assign walletClass = "" | append: "is-hidden-mobile" %} {% else %} {% assign walletClass = "" | append: "accordion-wallets is-visible" %} {% endif %}
{% if page.id == "wallets-hardware-hardware" or page.id == "wallets-web-web" %} {% assign accordionNumber = "" | append: "accordion-tab-2" %} {% else %} {% assign accordionNumber = "" | append: "accordion-tab-3" %} {% endif %} {% for wallet in site.wallets %} {% assign id = wallet.id | remove: '/wallets/' %} {% if page.id contains id %} {% assign walletName = wallet.titleshort %} {% endif %} {% endfor %}

{% translate wallet-select choose-your-wallet %}

{{walletName}}

{% if page.id == "choose-your-wallet" %} {% for wallet in site.wallets %} {% assign platformList = "" %} {% assign id = wallet.id | remove: '/wallets/' %} {% for platform in wallet.platform %} {% capture platformList %}{{platformList}}{{platform.name}}{% endcapture %} {% endfor %}

{% translate wallet-select-operating-system choose-your-wallet %}

{% for platform in wallet.platform %} {% for os in platform.os%} {% if platform.name == os.name %}

{{os.name}}

{% else %}

{{os.name}}

{% endif %} {% endfor %} {% endfor %}
{% endfor %} {% else %} {% for wallet in site.wallets %} {% assign id = wallet.id | remove: '/wallets/' %} {% if page.id contains id %} {% continue %} {% endif %} {% assign platformName = page.platform['name'] %} {% assign osName = page.os['name'] %} {% if wallet.compat contains platformName and wallet.compat contains osName %} {% if osName == 'desktop' or osName == 'mobile' %}

{% translate wallet-select-operating-system choose-your-wallet %}

{% for platform in wallet.platform %} {% for os in platform.os%} {% if platform.name == osName %}

{{os.name}}

{% endif %} {% endfor %} {% endfor %}
{% else %} {% endif %} {% endif %} {% endfor %} {% endif %}