From 2488ce0d442374e753601c0735a5a284a3459c5c Mon Sep 17 00:00:00 2001 From: "holger.trampe" Date: Sun, 8 Dec 2019 21:20:35 +0100 Subject: [PATCH] Settings angepasst Dashboard fertig --- .../__pycache__/settings.cpython-38.pyc | Bin 4304 -> 4278 bytes digitaleagentur/settings.py | 21 +++++++------- users/__pycache__/views.cpython-38.pyc | Bin 10121 -> 10121 bytes users/templates/users/dashboard.html | 26 +++++++++++------- 4 files changed, 27 insertions(+), 20 deletions(-) diff --git a/digitaleagentur/__pycache__/settings.cpython-38.pyc b/digitaleagentur/__pycache__/settings.cpython-38.pyc index a7b3c66f3b6522b427512b5852c902d8541acf23..0b6c6b3af2f1c2f6e00a3b24d3c38f7402ff7433 100644 GIT binary patch delta 271 zcmYjKyGq1R6wJBz>>|tFL~Rr`n(RBS0l&dwe?V;x*iBsA^&M?&{Dxp_VZcAQVBuGY zU}G(4V`nMoC0IDa49qYvPw_)+c8zIx4&U;*mlr0aMlrlf84+T%&_-v>2ZZh|k4X%A z;-fDC1~Q98=A7oi#q;|$%Mw_YomMcB5K~#rXrk_P^yB;7L?9aTZ}(Drx;s z`y_1~N$0Ptf=-fIFkhDvhIF{$Ylc;l0t2JD!H^Hl@smQN1bZ>Q5T|- i-I{sRcC&e}>Feetcnt%lMey1 delta 273 zcmdm{ctMdjl$V!_0SMT`-^R91b29xrstP2?zGN$B;GejwXMHEvNQgRkDMJXZk(io$ZQ}Uuzpkiz(`9Kw_ zDFsn#KugtA3ZpbqilQ`AilelEc53sbltk&Ilt$^MFalpK00N_kja>EW04uKq9{>OV delta 19 YcmeD5@AT&i<>lpK0D^a68@cM$0Wb{&*#H0l diff --git a/users/templates/users/dashboard.html b/users/templates/users/dashboard.html index cc52b07..663e1ba 100644 --- a/users/templates/users/dashboard.html +++ b/users/templates/users/dashboard.html @@ -4,20 +4,22 @@

Willkommen, {{request.user.first_name}} {{request.user.last_name}}!

Letzter Login: {{ request.user.last_login }}
- Agentur: {{ request.user.profile.agency.name }} -
- -
+

Agentur: {{ request.user.profile.agency.name }}

+
+
Neueste Standards
+
+
+
{% for item in standards_of_agency %} {% if item.public or item.created_standard_by == user or perms.users.standard_management %} -
+
{% if item.public %} -

{{item.name}}

+
{{item.name}}
{% else %} -

{{item.name}}

+
{{item.name}}
{% endif %}
{% if item.created_standard_by == user or perms.users.standard_management %} @@ -35,14 +37,18 @@ {% endif %}
-
{{item.created_standard_by.first_name}} {{item.created_standard_by.last_name}}
Zuletzt bearbeitet von {{ item.last_modified_by.first_name }} {{ item.last_modified_by.last_name }} am {{ item.last_modified_on }}
- -

{{ item.content|truncatechars:250|safe}}

+
{{item.created_standard_by.first_name}} {{item.created_standard_by.last_name}} Zuletzt bearbeitet von {{ item.last_modified_by.first_name }} {{ item.last_modified_by.last_name }} am {{ item.last_modified_on }} +
+

{{ item.content|truncatechars:80|safe}}

{% endif %} {% endfor%} +
+
+ +
{% endblock content %} \ No newline at end of file