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

translation

This commit is contained in:
Maël Kervella 2018-07-25 18:43:28 +00:00
parent 45676ef669
commit 74086539c0

View file

@ -31,7 +31,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
{% block content %} {% block content %}
<div align="center"> <div align="center">
<h2>Bienvenue {{users.name}} {{ users.surname }}</h2> <h2>Welcome {{ users.name }} {{ users.surname }}</h2>
</div> </div>
<div class="dashboard_container"> <div class="dashboard_container">
<div class="row"> <div class="row">
@ -42,25 +42,25 @@ with this program; if not, write to the Free Software Foundation, Inc.,
{% endif %} {% endif %}
{% if users.is_ban%} {% if users.is_ban%}
<div class="panel panel-danger"> <div class="panel panel-danger">
<div class="panel-heading dashboard">Votre compte est banni</div> <div class="panel-heading dashboard">Your account has been banned</div>
<div class="panel-body dashboard"> <div class="panel-body dashboard">
<i class="text-danger">Fin du ban : {{user.end_ban|date:"d M Y"}}</i> <i class="text-danger">End of the ban: {{ user.end_ban | date:"SHORT_DATE_FORMAT" }}</i>
</div> </div>
</div> </div>
{% elif not users.is_adherent %} {% elif not users.is_adherent %}
<div class="panel panel-danger"> <div class="panel panel-danger">
<div class="panel-heading dashboard">Non Connécté</div> <div class="panel-heading dashboard">Not connected</div>
<div class="panel-body dashboard"> <div class="panel-body dashboard">
<a class="btn btn-danger btn-sm" role="button" href="{% url 'cotisations:credit-solde' users.id %}"> <a class="btn btn-danger btn-sm" role="button" href="{% url 'cotisations:credit-solde' users.id %}">
<i class="fas fa-sign-in-alt"></i> Adhérer <i class="fas fa-sign-in-alt"></i> Pay for a connexion
</a> </a>
</div> </div>
</div> </div>
{% else %} {% else %}
<div class="panel panel-success"> <div class="panel panel-success">
<div class="panel-heading dashboard">Connécté</div> <div class="panel-heading dashboard">Connected</div>
<div class="panel-body dashboard"> <div class="panel-body dashboard">
<i class="text-success">Fin de connexion: {{user.end_adhesion|date:"d M Y"}}</i> <i class="text-success">End of connexion: {{ user.end_adhesion | date:"SHORT_DATE_FORMAT"}}</i>
</div> </div>
</div> </div>
{% endif %} {% endif %}
@ -69,11 +69,11 @@ with this program; if not, write to the Free Software Foundation, Inc.,
<div class="col-sm-6 col-md-4"> <div class="col-sm-6 col-md-4">
<div class="panel panel-info"> <div class="panel panel-info">
<div class="panel-heading dashboard" data-parent="#accordion" data-toggle="collapse" data-target="#collapse4"> <div class="panel-heading dashboard" data-parent="#accordion" data-toggle="collapse" data-target="#collapse4">
{{user.solde}} <i class="fas fa-euro-sign"></i> {{ user.solde }}
</div> </div>
<div class="panel-body dashboard"> <div class="panel-body dashboard">
<a class="btn btn-primary btn-sm" role="button" href="{% url 'cotisations:credit-solde' users.id %}"> <a class="btn btn-primary btn-sm" role="button" href="{% url 'cotisations:credit-solde' users.id %}">
<i class="fa fa-euro-sign"></i> Modifier le solde <i class="fa fa-euro-sign"></i> Pay for the balance
</a> </a>
</div> </div>
</div> </div>
@ -82,24 +82,23 @@ with this program; if not, write to the Free Software Foundation, Inc.,
{% else %} {% else %}
<div class="col-sm-6 col-md-6"> <div class="col-sm-6 col-md-6">
{% endif %} {% endif %}
<div class="col-12">
{% if nb_machines %} {% if nb_machines %}
<div class="panel panel-info"> <div class="panel panel-info">
<div class="panel-heading dashboard" data-parent="#accordion" data-toggle="collapse" data-target="#collapse3"> <div class="panel-heading dashboard" data-parent="#accordion" data-toggle="collapse" data-target="#collapse3">
<span class="badge">{{nb_machines}}</span> Machines <i class="fa fa-desktop"></i> <i class="fa fa-desktop"></i> Machines <span class="badge">{{ nb_machines }}</span>
</div> </div>
<div class="panel-body dashboard"> <div class="panel-body dashboard">
<a class="btn btn-primary btn-sm" role="button" href="{% url 'machines:new-machine' users.id %}"> <a class="btn btn-primary btn-sm" role="button" href="{% url 'machines:new-machine' users.id %}">
<i class="fa fa-desktop"></i> Ajouter une machine <i class="fa fa-desktop"></i> Add a machine
</a> </a>
</div> </div>
</div> </div>
{% else %} {% else %}
<div class="panel panel-warning"> <div class="panel panel-warning">
<div class="panel-heading dashboard">Aucune machine</div> <div class="panel-heading dashboard">No machines</div>
<div class="panel-body dashboard"> <div class="panel-body dashboard">
<a class="btn btn-warning btn-sm" role="button" href="{% url 'machines:new-machine' users.id %}"> <a class="btn btn-warning btn-sm" role="button" href="{% url 'machines:new-machine' users.id %}">
<i class="fa fa-desktop"></i> Ajouter une machine <i class="fa fa-desktop"></i> Add a machine
</a> </a>
</div> </div>
</div> </div>
@ -107,7 +106,6 @@ with this program; if not, write to the Free Software Foundation, Inc.,
</div> </div>
</div> </div>
</div> </div>
</div>