From 33152b9822feb3ad3f327a57c998dc0b5484b99f Mon Sep 17 00:00:00 2001 From: Zambom Date: Mon, 30 Jan 2017 15:13:39 -0200 Subject: [PATCH] Notification card adjusts --- notifications/templates/notifications/_view.html | 102 ++++++++++++++++++++++++++++++++++++++++++++++++++++-------------------------------------------------- 1 file changed, 52 insertions(+), 50 deletions(-) diff --git a/notifications/templates/notifications/_view.html b/notifications/templates/notifications/_view.html index 965312b..a98d970 100644 --- a/notifications/templates/notifications/_view.html +++ b/notifications/templates/notifications/_view.html @@ -2,63 +2,65 @@
-
- -
-
-

{{ notification }}

-

{% trans 'Final Date/Time' %}: {{ notification.task.end_date|default:_('Not Informed') }}

+
+
+ +
+
+

{{ notification }}

+

{% trans 'Final Date/Time' %}: {{ notification.task.end_date|default:_('Not Informed') }}

- {% if notification.level == 2 %} -

{% trans 'Your goal was to realize this in' %}: {{ notification.meta }}

- {% elif notification.level == 4 %} -

{% trans 'Task finished in' %}: {{ notification.task.limit_date }}

- {% endif %} + {% if notification.level == 2 %} +

{% trans 'Your goal was to realize this in' %}: {{ notification.meta }}

+ {% elif notification.level == 4 %} +

{% trans 'Task finished in' %}: {{ notification.task.limit_date }}

+ {% endif %} - {{ notification|done_percent }}% {% trans 'of the participants already realized this task.' %} -
-
-
- - {{ notification.level|warning_msg }} + {{ notification|done_percent|floatformat:2 }}% {% trans 'of the participants already realized this task.' %} +
+
+
+ + {{ notification.level|warning_msg }} +
-
-
-- libgit2 0.21.2