From ec6d9bd9f1f4dac0969670969e7bd4899760aa0d Mon Sep 17 00:00:00 2001 From: Serghei MIHAI Date: Mon, 28 Jul 2014 14:04:29 +0200 Subject: [PATCH 2/2] dossiers: print all quotations font-awesome styles added for icons effects Closes #5012 --- .../dossiers/templates/dossiers/quotations.html | 12 +++---- .../templates/dossiers/quotations_print.html | 40 ++++++++++++++++++++++ calebasse/dossiers/views.py | 26 ++++++++------ calebasse/static/css/font-awesome.min.css | 4 +++ calebasse/static/css/print.css | 11 ++++++ calebasse/static/css/style.css | 8 +++++ calebasse/static/js/calebasse.dossiers.js | 16 ++++++++- calebasse/templates/calebasse/base.html | 1 + 8 files changed, 101 insertions(+), 17 deletions(-) create mode 100644 calebasse/dossiers/templates/dossiers/quotations_print.html create mode 100644 calebasse/static/css/font-awesome.min.css diff --git a/calebasse/dossiers/templates/dossiers/quotations.html b/calebasse/dossiers/templates/dossiers/quotations.html index 893bfdb..b4dbbbe 100644 --- a/calebasse/dossiers/templates/dossiers/quotations.html +++ b/calebasse/dossiers/templates/dossiers/quotations.html @@ -4,7 +4,7 @@ {% block appbar %}

Dossiers

Retourner aux dossiers - + {% endblock %} {% block content %} @@ -46,7 +46,7 @@
- +
- + @@ -90,7 +90,7 @@
N° dossier @@ -72,14 +72,14 @@ {{ patient_record.object.id }} {{ patient_record.object.last_name }} {{ patient_record.object.first_name }}{{ patient_record.object.birthdate|date:"SHORT_DATE_FORMAT" }}{{ patient_record.object.birthdate|date:"d-m-Y" }} {{ patient_record.state }} {% if patient_record.next_rdv_date %} - {{ patient_record.next_rdv_date|date:"DATETIME_FORMAT" }} + {{ patient_record.next_rdv_date|date:"d-m-Y, H:i" }} {% endif %} {% if patient_record.last_rdv_date %} - {{ patient_record.last_rdv_date|date:"DATETIME_FORMAT" }} + {{ patient_record.last_rdv_date|date:"d-m-Y, H:i" }} {% endif %} {% if patient_record.mises %}{% endif %} {% if patient_record.anap %}{% endif %}
{% if request.GET %} -