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,18 +1,6 @@
{% extends "overview/base.html" %}
{% load i18n %} {% load i18n %}
{% block head %} <main role="main" class="pf-c-page__main" tabindex="-1" id="main-content">
{{ 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"> <section class="pf-c-page__main-section pf-m-light">
<div class="pf-c-content"> <div class="pf-c-content">
<h1> <h1>
@ -62,4 +50,4 @@
</div> </div>
{% endif %} {% endif %}
</section> </section>
{% endblock %} </main>