Dashboard eben noch Files-Module entsprechend Moduleinstellung rausgenommen und Reihenfolge beim Profil verändert.

This commit is contained in:
holger.trampe 2020-02-10 23:17:09 +01:00
parent b3f4808cb6
commit 8ce5f16163
3 changed files with 4 additions and 3 deletions

1
.gitignore vendored
View File

@ -1,3 +1,4 @@
media/agencydata/*
media/agencymain/*
!media/agencymain/default.jpg
!media/agencymain/linkdefault.png

View File

@ -126,7 +126,7 @@
</li>
{% endif %}
{% if request.user.profile.agency.module_files %}
{% if active_link == 'cloud' %}
<li class="nav-item active">
{% else%}
@ -137,6 +137,7 @@
<span>Dateien</span>
</a>
</li>
{% endif %}
{% if perms.users.users_usermanagement or perms.users.areas_management or perms.users.tasks_management or perms.user.news_management %}
<hr class="sidebar-divider">

View File

@ -15,7 +15,6 @@
{% if perms.users.modulenews %}
<a class="btn btn-primary btn-sm ml-1" href="{% url 'news-add' %} " style="float: right;" data-toggle="tooltip" data-placement="top" title="Neue News für Ihre Agentur erstellen"><i class="fas fa-plus"></i></a>
<a class="btn btn-secondary btn-sm" href="{% url 'news-management' %} " style="float: right;" data-toggle="tooltip" data-placement="top" title="Alle News und das News-Archiv betrachten"><i class="fas fa-list"></i></a>
{% endif %}
</h5>
<div class="table-responsive">