Display current app only in heading and hide placeholder footer

This commit is contained in:
Yingtong Li 2019-01-17 21:30:56 +11:00
parent 07c141d509
commit 37caf3bb9b
Signed by: RunasSudo
GPG Key ID: 7234E476BF21C61A

View File

@ -70,8 +70,8 @@
<div class="ui large secondary inverted pointing menu"> <div class="ui large secondary inverted pointing menu">
</a> </a>
<a class="{% if request.resolver_match.func.__module__.startswith('ssmain.') %}active {% endif %}item" href="{{ url('index') }}">Society Self-Service</a> <a class="{% if request.resolver_match.func.__module__.startswith('ssmain.') %}active {% endif %}item" href="{{ url('index') }}">Society Self-Service</a>
<a class="{% if request.resolver_match.func.__module__.startswith('sstreasury.') %}active {% endif %}item" href="{{ url('treasury') }}">Treasury</a> {% if request.resolver_match.func.__module__.startswith('sstreasury.') %}<a class="{% if request.resolver_match.func.__module__.startswith('sstreasury.') %}active {% endif %}item" href="{{ url('treasury') }}">Treasury</a>{% endif %}
<a class="{% if request.resolver_match.func.__module__.startswith('sspromotions.') %}active {% endif %}item" href="{{ url('promotions') }}">Promotions</a> {% if request.resolver_match.func.__module__.startswith('sspromotions.') %}<a class="{% if request.resolver_match.func.__module__.startswith('sspromotions.') %}active {% endif %}item" href="{{ url('promotions') }}">Promotions</a>{% endif %}
<div class="right menu"> <div class="right menu">
{% if request.user.is_authenticated %} {% if request.user.is_authenticated %}
<div class="item"><i class="user circle icon"></i>{{ request.user.first_name }} {{ request.user.last_name }}</div> <div class="item"><i class="user circle icon"></i>{{ request.user.first_name }} {{ request.user.last_name }}</div>
@ -96,7 +96,7 @@
{% endif %} {% endif %}
{# footer #} {# footer #}
<div class="ui inverted vertical footer segment"> {#<div class="ui inverted vertical footer segment">
<div class="ui container"> <div class="ui container">
<div class="ui stackable inverted divided equal height stackable grid"> <div class="ui stackable inverted divided equal height stackable grid">
<div class="three wide column"> <div class="three wide column">
@ -123,5 +123,5 @@
</div> </div>
</div> </div>
</div> </div>
</div> </div>#}
{% endblock %} {% endblock %}