diff --git a/konova/templates/konova/home.html b/konova/templates/konova/home.html index 533bbba3..d6499532 100644 --- a/konova/templates/konova/home.html +++ b/konova/templates/konova/home.html @@ -7,123 +7,13 @@
-

- {% trans 'Intervention' %} -

-
- -
-
- {% fa5_icon 'pencil-ruler' %} -
-
-
-
-
-
{% trans 'Total' %}
-
{{total_intervention_count|intcomma}}
-
-
-
{% trans 'Shared with you' %}
-
{{user_intervention_count|intcomma}}
-
-
-
- -
+ {% include 'konova/includes/quickstart/interventions.html' %}
-
-

- {% trans 'Compensation' %} -

-
- -
-
- {% fa5_icon 'leaf' %} -
-
-
-
-
-
{% trans 'Total' %}
-
{{total_compensation_count|intcomma}}
-
-
-
{% trans 'Shared with you' %}
-
{{user_compensation_count|intcomma}}
-
-
-
- -
+ {% include 'konova/includes/quickstart/compensations.html' %}
- -
-

- {% trans 'Eco-account' %} -

-
- -
-
- {% fa5_icon 'tree' %} -
-
-
-
-
-
{% trans 'Total' %}
-
{{total_eco_count|intcomma}}
-
-
-
{% trans 'Shared with you' %}
-
{{user_eco_count|intcomma}}
-
-
-
- -
-
+ {% include 'konova/includes/quickstart/ecoaccounts.html' %}
diff --git a/konova/templates/konova/includes/quickstart/compensations.html b/konova/templates/konova/includes/quickstart/compensations.html new file mode 100644 index 00000000..347bbef1 --- /dev/null +++ b/konova/templates/konova/includes/quickstart/compensations.html @@ -0,0 +1,37 @@ +{% load i18n fontawesome_5 humanize %} + +

+ {% trans 'Compensation' %} +

+
+ +
+
+ {% fa5_icon 'leaf' %} +
+
+
+
+
+
{% trans 'Total' %}
+
{{total_compensation_count|intcomma}}
+
+
+
{% trans 'Shared with you' %}
+
{{user_compensation_count|intcomma}}
+
+
+
+
+
+ + + +
+
+ + + +
+
+
\ No newline at end of file diff --git a/konova/templates/konova/includes/quickstart/ecoaccounts.html b/konova/templates/konova/includes/quickstart/ecoaccounts.html new file mode 100644 index 00000000..aa5cc68a --- /dev/null +++ b/konova/templates/konova/includes/quickstart/ecoaccounts.html @@ -0,0 +1,42 @@ +{% load i18n fontawesome_5 humanize %} + +

+ {% trans 'Eco-account' %} +

+
+ +
+
+ {% fa5_icon 'tree' %} +
+
+
+
+
+
{% trans 'Total' %}
+
{{total_eco_count|intcomma}}
+
+
+
{% trans 'Shared with you' %}
+
{{user_eco_count|intcomma}}
+
+
+
+
+
+ +
+
+ +
\ No newline at end of file diff --git a/konova/templates/konova/includes/quickstart/interventions.html b/konova/templates/konova/includes/quickstart/interventions.html new file mode 100644 index 00000000..965faeb6 --- /dev/null +++ b/konova/templates/konova/includes/quickstart/interventions.html @@ -0,0 +1,37 @@ +{% load i18n fontawesome_5 humanize %} + +

+ {% trans 'Intervention' %} +

+
+ +
+
+ {% fa5_icon 'pencil-ruler' %} +
+
+
+
+
+
{% trans 'Total' %}
+
{{total_intervention_count|intcomma}}
+
+
+
{% trans 'Shared with you' %}
+
{{user_intervention_count|intcomma}}
+
+
+
+
+
+ + + +
+
+ + + +
+
+
\ No newline at end of file diff --git a/news/templates/news/dashboard-news.html b/news/templates/news/dashboard-news.html index 6301e2cc..f6aa9c6d 100644 --- a/news/templates/news/dashboard-news.html +++ b/news/templates/news/dashboard-news.html @@ -17,7 +17,7 @@ {% endfor %}
- +
{% trans 'Older ...' %}