parent
e80b795beb
commit
cd8e7f9029
10 changed files with 35 additions and 8 deletions
|
Before Width: | Height: | Size: 10 KiB |
@ -0,0 +1 @@ |
||||
kotzilla ,kotzilla,kotzilla-Satellite-L300,27.05.2014 19:59,file:///home/kotzilla/.config/libreoffice/3; |
||||
@ -1 +0,0 @@ |
||||
kotzilla ,kotzilla,kotzilla-Satellite-L300,27.05.2014 17:23,file:///home/kotzilla/.config/libreoffice/3; |
||||
@ -1 +0,0 @@ |
||||
kotzilla ,kotzilla,kotzilla-Satellite-L300,27.05.2014 17:23,file:///home/kotzilla/.config/libreoffice/3; |
||||
@ -0,0 +1 @@ |
||||
kotzilla ,kotzilla,kotzilla-Satellite-L300,27.05.2014 19:16,file:///home/kotzilla/.config/libreoffice/3; |
||||
@ -1,17 +1,22 @@ |
||||
{% load i18n %} |
||||
{% load template_filters %} |
||||
|
||||
|
||||
{% if obj.data_begin|timesince_exp:obj.data_end %} |
||||
|
||||
{% if obj.data_begin|timesince:obj.data_end > "4 week" %} |
||||
{{ obj.data_begin|date:"F" }} |
||||
|
||||
{% else %} |
||||
{% if obj.data_begin|timesince:obj.data_end < "1 day" %} |
||||
{{ obj.data_begin }} |
||||
{% else %} |
||||
|
||||
{% if obj.data_end %} |
||||
{% trans 'с' %} {{ obj.data_begin|date:"j" }} {% trans 'по' %} {{ obj.data_end }} |
||||
{% trans 'с' %}{% ifnotequal obj.data_begin|date:"F" obj.data_end|date:"F" %} {{ obj.data_begin|date:"j F" }}{% else %} {{ obj.data_begin|date:"j" }}{% endifnotequal %} {% trans 'по' %} {{ obj.data_end }} |
||||
{% else %} |
||||
{{ obj.data_begin }} |
||||
{% endif %} |
||||
|
||||
{% endif %} |
||||
{% endif %} |
||||
{% endif %} |
||||
|
||||
|
||||
Loading…
Reference in new issue