Move version to top & fix services_menu list.

This commit is contained in:
Santiago Lamora 2020-01-20 18:33:33 +01:00
parent d43b849d49
commit 36b0033b11
1 changed files with 6 additions and 3 deletions

View File

@ -38,19 +38,19 @@
<img class="img-fluid" src="{% static 'musician/images/logo-pangea-monocrome-white.png' %}" <img class="img-fluid" src="{% static 'musician/images/logo-pangea-monocrome-white.png' %}"
alt="Pangea.org - Internet etic i solidari" /> alt="Pangea.org - Internet etic i solidari" />
</div> </div>
<span class="text-light d-block text-right">{{ version }}</span>
<div class="dropdown-divider"></div> <div class="dropdown-divider"></div>
{# <!-- services menu --> #} {# <!-- services menu --> #}
{% for item in services_menu %}
<ul id="sidebar-services" class="nav flex-column"> <ul id="sidebar-services" class="nav flex-column">
{% for item in services_menu %}
<li class="nav-item"> <li class="nav-item">
<a class="nav-link text-light active" href="{% url item.pattern_name %}"> <a class="nav-link text-light active" href="{% url item.pattern_name %}">
<i class="fas fa-{{ item.icon }}"></i> <i class="fas fa-{{ item.icon }}"></i>
{{ item.title }} {{ item.title }}
</a> </a>
</li> </li>
</ul>
{% endfor %} {% endfor %}
</ul>
{# <!-- user profile menu --> #} {# <!-- user profile menu --> #}
<div id="user-profile-menu" class="mt-5 pt-1 dropdown dropright"> <div id="user-profile-menu" class="mt-5 pt-1 dropdown dropright">
@ -76,6 +76,9 @@
</ul> </ul>
</div> </div>
<div class="mt-4 pr-3 pb-2 text-light d-block text-right">
<small>Panel Version {{ version }}</small>
</div>
{% endblock sidebar %} {% endblock sidebar %}
</nav><!-- ./sidebar --> </nav><!-- ./sidebar -->
<div id="content" class="container-fluid pt-4"> <div id="content" class="container-fluid pt-4">