core: fix impersonation notice being shown twice

This commit is contained in:
Jens Langhammer 2020-11-22 23:39:40 +01:00
parent 2a50e36027
commit d97b2bf503
2 changed files with 48 additions and 74 deletions

View file

@ -1,14 +0,0 @@
{% extends "base/page.html" %}
{% load static %}
{% load i18n %}
{% load passbook_is_active %}
{% load passbook_utils %}
{% block page_content %}
<main role="main" class="pf-c-page__main" tabindex="-1" id="main-content">
{% block content %}
{% endblock %}
</main>
{% endblock %}

View file

@ -1,27 +1,15 @@
{% extends "overview/base.html" %}
{% load i18n %}
{% block head %}
{{ block.super }}
<style>
img.app-icon {
max-height: 72px;
width: auto !important;
}
</style>
{% endblock %}
{% block content %}
<section class="pf-c-page__main-section pf-m-light">
<main role="main" class="pf-c-page__main" tabindex="-1" id="main-content">
<section class="pf-c-page__main-section pf-m-light">
<div class="pf-c-content">
<h1>
<i class="pf-icon pf-icon-applications"></i>
{% trans 'Applications' %}
</h1>
</div>
</section>
<section class="pf-c-page__main-section">
</section>
<section class="pf-c-page__main-section">
{% if applications %}
<div class="pf-l-gallery pf-m-gutter">
{% for app in applications %}
@ -61,5 +49,5 @@
</div>
</div>
{% endif %}
</section>
{% endblock %}
</section>
</main>