From 63b0fc6269b38edf7234b9f151b80d81f614c0a3 Mon Sep 17 00:00:00 2001 From: Filipp Lepalaan Date: Tue, 4 Aug 2015 10:11:24 +0300 Subject: Initial commit First public commit --- servo/templates/accounts/print_calendar.html | 82 ++++++++++++++++++++++++++++ 1 file changed, 82 insertions(+) create mode 100755 servo/templates/accounts/print_calendar.html (limited to 'servo/templates/accounts/print_calendar.html') diff --git a/servo/templates/accounts/print_calendar.html b/servo/templates/accounts/print_calendar.html new file mode 100755 index 0000000..64edbe3 --- /dev/null +++ b/servo/templates/accounts/print_calendar.html @@ -0,0 +1,82 @@ +{% extends "default_print.html" %} +{% load servo_tags %} +{% load mptt_tags %} +{% load static %} +{% load i18n %} + +{% block content %} +
+
+ {% if location.logo %} + logo + {% endif %} +
+
+ {{ location.title }}
+ {{ location.address }}
+ {{ location.zip_code }}, {{ location.city }}
+ {{ location.notes }} +
+
+ {% block location_info %} + {% endblock location_info %} + {% trans "Email Address" %}: {{ location.email }}
+ {% trans "Phone" %}: {{ location.phone }}

+
+
+
+
+ {% trans "Employee" %}: {{ calendar.user.get_full_name }}
+ {% trans "Date" %}: {% now "SHORT_DATE_FORMAT" %} +
+
+
+

{{ title }}

+
+
+
+ + + + + + + + + + + + {% for i in events %} + + + + + + + + {% empty %} + + {% endfor %} + + + + + + + +
{% trans "Date" %}{% trans "Started At" %}{% trans "Finished At" %}{% trans "Duration" %}{% trans "Notes" %}
{% ifchanged i.started_at|date %}{{ i.started_at|date:"SHORT_DATE_FORMAT" }}{% endifchanged %}{{ i.started_at|time:"TIME_FORMAT" }}{{ i.finished_at|time:"TIME_FORMAT"|default:"-" }}{{ i.get_duration }}{{ i.notes|default:'' }}
{% trans "No events found" %}
{% trans "Total" %}{{ subtitle }}
+
+
+
+
+
+
+
+ {% trans "Manager" %} +
+
+
+ {% trans "Employee" %} +
+
+{% endblock content %} -- cgit v1.2.3