diff --git a/notes/templates/notes/details.html b/notes/templates/notes/details.html index c2b6d87..c8afff4 100644 --- a/notes/templates/notes/details.html +++ b/notes/templates/notes/details.html @@ -3,16 +3,7 @@ {% block page_content %}
-
-
- -{% block pre_content %}{% endblock %} - +
{% for note in notes %} {% if maraude %} {% inline_table note header="sujet" %} @@ -21,9 +12,7 @@ {% endif %} {% endfor %}
-{% block post_content %}{% endblock %} -
-
+{% block pagination %}{% endblock %}
diff --git a/notes/templates/notes/details_maraude.html b/notes/templates/notes/details_maraude.html index e31da54..3329e56 100644 --- a/notes/templates/notes/details_maraude.html +++ b/notes/templates/notes/details_maraude.html @@ -30,7 +30,7 @@ {% endblock %} {% block right_column %} -
+
Informations

Maraudeurs :  {{ maraude.binome }} & {{ maraude.referent }}

diff --git a/notes/templates/notes/details_sujet.html b/notes/templates/notes/details_sujet.html index b80a1de..ce07279 100644 --- a/notes/templates/notes/details_sujet.html +++ b/notes/templates/notes/details_sujet.html @@ -6,55 +6,27 @@ {% endblock %} {% block breadcrumbs %} - {{ block.super }} -
  • Sujets
  • -
  • {{ sujet }}
  • + {% endblock %} -{% block pre_content %} -
    -{% endblock %} - -{% block post_content %} - {% if notes.has_other_pages %} + {% endif %}
    -
    - -
    -
    -
    {% csrf_token %} - {% bootstrap_form note_form show_label=False %} -
    - -
    {% endblock %} {% block right_column %} -
    -
    -

    Informations

    -
    +
    +
    Informations
    {% include "notes/details_sujet_inner.html" %}
    -
    -

    Statistiques

    +
    +
    Statistiques
    {% include "statistiques/fiche_stats_details.html" with object=sujet.statistiques %}
    @@ -89,6 +61,7 @@ {% block sidebar %} {{ block.super }} + {% if user.is_superuser %}
    diff --git a/notes/templates/notes/details_sujet_inner.html b/notes/templates/notes/details_sujet_inner.html index 65d811a..ca6ccf5 100644 --- a/notes/templates/notes/details_sujet_inner.html +++ b/notes/templates/notes/details_sujet_inner.html @@ -1,5 +1,5 @@
    - +
    {% with "-" as none %} @@ -7,9 +7,7 @@ {% endwith %}
    NomSurnomPrénom
    {{ sujet.nom|default:none }}{{ sujet.surnom|default:none}}{{ sujet.prenom|default:none}}
    {{ sujet.age|default_if_none:none }}{{ sujet.premiere_rencontre|default_if_none:none }}
    - +