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