mirror of
https://github.com/seigler/dash-docs
synced 2025-07-27 01:36:13 +00:00
Fixes wallet menu, list and container for correct links and translation
This commit is contained in:
parent
43ec650bd4
commit
7f028a68ba
4 changed files with 16 additions and 4 deletions
|
@ -8,8 +8,8 @@ http://opensource.org/licenses/MIT.
|
||||||
{% assign platform = page.platform['name'] %}
|
{% assign platform = page.platform['name'] %}
|
||||||
{% assign os = page.os['name'] %}
|
{% assign os = page.os['name'] %}
|
||||||
{% if wallet.compat contains platform and wallet.compat contains os %}
|
{% if wallet.compat contains platform and wallet.compat contains os %}
|
||||||
<div>
|
<div data-walletlevel="{{ wallet.level }}">
|
||||||
<a href="/en/wallets/{{ platform }}/{{ os }}/{{ wallet.id }}/">
|
<a href="/{{ page.lang}}/wallets/{{ platform }}/{{ os }}/{{ wallet.id }}/">
|
||||||
<img src="/img/wallet/{{ wallet.id }}.png" alt="{{ wallet.title }}" />
|
<img src="/img/wallet/{{ wallet.id }}.png" alt="{{ wallet.title }}" />
|
||||||
{{ wallet.titleshort }}
|
{{ wallet.titleshort }}
|
||||||
</a>
|
</a>
|
||||||
|
@ -17,3 +17,7 @@ http://opensource.org/licenses/MIT.
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<script type="text/javascript" charset="utf-8">
|
||||||
|
walletRotate();
|
||||||
|
</script>
|
||||||
|
|
|
@ -26,7 +26,12 @@ http://opensource.org/licenses/MIT.
|
||||||
{% assign platformClass = platformClass | append: " active" %}
|
{% assign platformClass = platformClass | append: " active" %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<li class="{{ platformClass }}">
|
<li class="{{ platformClass }}">
|
||||||
<a href="#">{% translate walletcat{{platformName}} choose-your-wallet %}</a>
|
{% if platformName == 'hardware' or platformName == 'web' %}
|
||||||
|
{% assign platformHref = "/" | append: page.lang | append: "/wallets/" | append: platformName | append: "/" | append: platformName | append: "/" %}
|
||||||
|
{% else %}
|
||||||
|
{% assign platformHref = "#" %}
|
||||||
|
{% endif %}
|
||||||
|
<a href="{{ platformHref }}">{% translate walletcat{{platformName}} choose-your-wallet %}</a>
|
||||||
{% if platform.items.size > 1 %}
|
{% if platform.items.size > 1 %}
|
||||||
<ul>
|
<ul>
|
||||||
{% for item in platform.items %}
|
{% for item in platform.items %}
|
||||||
|
@ -35,7 +40,7 @@ http://opensource.org/licenses/MIT.
|
||||||
{% assign osClass = osClass | append: " active" %}
|
{% assign osClass = osClass | append: " active" %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<li class="{{ osClass }}">
|
<li class="{{ osClass }}">
|
||||||
<a href="/en/wallets/{{ platformName }}/{{ item.os.name }}">
|
<a href="/{{ page.lang }}/wallets/{{ platformName }}/{{ item.os.name }}">
|
||||||
{% translate platform{{item.os.name}} choose-your-wallet %}
|
{% translate platform{{item.os.name}} choose-your-wallet %}
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
|
|
|
@ -33,6 +33,7 @@ max_wallet_text_length: 418 ## Unicode characters
|
||||||
alt="{% translate platform{{os.name}} choose-your-wallet %}"
|
alt="{% translate platform{{os.name}} choose-your-wallet %}"
|
||||||
title="{% translate platform{{os.name}} choose-your-wallet %}" />
|
title="{% translate platform{{os.name}} choose-your-wallet %}" />
|
||||||
<span>{% translate platform{{os.name}} choose-your-wallet %}</span>
|
<span>{% translate platform{{os.name}} choose-your-wallet %}</span>
|
||||||
|
<span>{% translate walletcat{{os.name}} choose-your-wallet %}</span>
|
||||||
</a>
|
</a>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
@ -47,6 +48,7 @@ max_wallet_text_length: 418 ## Unicode characters
|
||||||
alt="{% translate platform{{os.name}} choose-your-wallet %}"
|
alt="{% translate platform{{os.name}} choose-your-wallet %}"
|
||||||
title="{% translate platform{{os.name}} choose-your-wallet %}" />
|
title="{% translate platform{{os.name}} choose-your-wallet %}" />
|
||||||
<h3>{% translate platform{{os.name}} choose-your-wallet %}</h3>
|
<h3>{% translate platform{{os.name}} choose-your-wallet %}</h3>
|
||||||
|
<h3>{% translate walletcat{{os.name}} choose-your-wallet %}</h3>
|
||||||
</div>
|
</div>
|
||||||
<div class="wallet-os-download-buttons">
|
<div class="wallet-os-download-buttons">
|
||||||
{% if os.link == 'bitcoincore' %}
|
{% if os.link == 'bitcoincore' %}
|
||||||
|
|
|
@ -387,6 +387,7 @@ $scores:
|
||||||
|
|
||||||
.hover {
|
.hover {
|
||||||
.wallet-os-check-details {
|
.wallet-os-check-details {
|
||||||
|
z-index: 100;
|
||||||
display: block;
|
display: block;
|
||||||
border: 2px solid;
|
border: 2px solid;
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue