Add Explorer special case to Dev Tools nav

This commit is contained in:
mDuo13
2019-10-29 14:26:54 -07:00
parent b9029aa838
commit 4ac47648cb
4 changed files with 9 additions and 6 deletions

View File

@@ -118,9 +118,9 @@
{% endif %}
{% endfor %}
{# Special case to add Dev Blog to things #}
{% if parent.name == "News" %}
<li class="level-{{indent_level}}"><a href="/blog/">Ripple Dev Blog</a></li>
{# Special case to add XRPL Explorer to Dev Tools #}
{% if parent.name == "Dev Tools" %}
<li class="level-{{indent_level}}"><a target="_blank" href="https://livenet.xrpl.org/">XRP Ledger Explorer</a> <i class="fa fa-external-link"></i></li>
{% endif %}
{% endmacro %}

View File

@@ -51,8 +51,8 @@
<li><a class="nosubcat-page" href="{{ link_prefix}}{{ page.html }}">{{ page.name }}{% if page.status is defined and page.status == "not_enabled" %} {% include 'template-status_not_enabled.html' %}{% endif %}</a></li>
{% endif %}
{% endfor %}
{% if use_page.funnel == "News" %}
<li><a class="nosubcat-page" href="/blog/">Ripple Dev Blog</a></li>
{% if use_page.funnel == "Dev Tools" %}
<li><a class="nosubcat-page" href="https://livenet.xrpl.org/" target="_blank">XRP Ledger Explorer <i class="fa fa-external-link"></i></a></li>
{% endif %}
</ul>
</div><!-- /.card-body -->

View File

@@ -379,6 +379,9 @@ aside a.active-parent {
padding-left: 33px;
border-left: 2px solid $primary;
}
.sidebar_pagelist li a .fa {
display: inline;
}
.sidenav_cat_toggler {
background-color: $gray-600;