8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-12-26 00:43:46 +00:00

Etiquettes plus adaptées

This commit is contained in:
Gabriel Detraz 2016-07-10 04:23:42 +02:00
parent 8887eaf48c
commit ed18c0b8ba
4 changed files with 4 additions and 1 deletions

View file

@ -4,6 +4,7 @@
{% block title %}Facture{% endblock %} {% block title %}Facture{% endblock %}
{% block content %} {% block content %}
<h2>Cotisations</h2>
{% include "cotisations/aff_cotisations.html" with facture_list=facture_list %} {% include "cotisations/aff_cotisations.html" with facture_list=facture_list %}
<br /> <br />
<br /> <br />

View file

@ -4,6 +4,7 @@
{% block title %}Machines{% endblock %} {% block title %}Machines{% endblock %}
{% block content %} {% block content %}
<h2>Machines</h2>
{% include "machines/aff_machines.html" with interfaces_list=interfaces_list %} {% include "machines/aff_machines.html" with interfaces_list=interfaces_list %}
<br /> <br />
<br /> <br />

View file

@ -90,7 +90,7 @@
<li>Pseudo : {{ request_user.pseudo }}</li> <li>Pseudo : {{ request_user.pseudo }}</li>
<li>Chambre : {{ request_user.room }}</li> <li>Chambre : {{ request_user.room }}</li>
<li>Connexion : {% if request_user.actif == True %}<font color="green">Active</font>{% else %}<font color="red">Désactivée</font>{% endif %}</li> <li>Connexion : {% if request_user.actif == True %}<font color="green">Active</font>{% else %}<font color="red">Désactivée</font>{% endif %}</li>
<li>Fin d'adhésion : {% if request_user.end_adhesion != None %}<font color="green">{{ user.end_adhesion }}</font>{% else %}<font color="red">Non adhérent</font>{% endif %}</li> <li>Fin d'adhésion : {% if request_user.end_adhesion != None %}<font color="green">{{ request_user.end_adhesion }}</font>{% else %}<font color="red">Non adhérent</font>{% endif %}</li>
<p><a href="{% url "users:mon-profil" %}">Voir mon profil</a></p> <p><a href="{% url "users:mon-profil" %}">Voir mon profil</a></p>
{% else %} {% else %}
<p>Vous n'êtes pas authentifié</p> <p>Vous n'êtes pas authentifié</p>

View file

@ -4,6 +4,7 @@
{% block title %}Switchs{% endblock %} {% block title %}Switchs{% endblock %}
{% block content %} {% block content %}
<h2>Switchs</h2>
{% if is_infra %} {% if is_infra %}
<a class="btn btn-primary btn-sm" role="button" href="{% url 'topologie:new-switch' %}"><i class="glyphicon glyphicon-plus"></i> Ajouter un switch</a> <a class="btn btn-primary btn-sm" role="button" href="{% url 'topologie:new-switch' %}"><i class="glyphicon glyphicon-plus"></i> Ajouter un switch</a>
{% endif %} {% endif %}