Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
R
re2o
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Nounous
re2o
Commits
74086539
Commit
74086539
authored
Jul 25, 2018
by
Maël Kervella
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
translation
parent
45676ef6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
28 additions
and
30 deletions
+28
-30
users/templates/users/profil.html
users/templates/users/profil.html
+28
-30
No files found.
users/templates/users/profil.html
View file @
74086539
...
@@ -31,7 +31,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
...
@@ -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.,
...
@@ -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"
>
No
n Connécté
</div>
<div
class=
"panel-heading dashboard"
>
No
t 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"
>
Conn
ected
</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.,
...
@@ -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 sold
e
<i
class=
"fa fa-euro-sign"
></i>
Pay for the balanc
e
</a>
</a>
</div>
</div>
</div>
</div>
...
@@ -82,29 +82,27 @@ with this program; if not, write to the Free Software Foundation, Inc.,
...
@@ -82,29 +82,27 @@ 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"
>
<i
class=
"fa fa-desktop"
></i>
Machines
<span
class=
"badge"
>
{{ nb_machines }}
</span>
<span
class=
"badge"
>
{{nb_machines}}
</span>
Machines
<i
class=
"fa fa-desktop"
></i>
</div>
<div
class=
"panel-body dashboard"
>
<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
</a>
</div>
</div>
</div>
{% else %}
<div
class=
"panel-body dashboard"
>
<div
class=
"panel panel-warning"
>
<a
class=
"btn btn-primary btn-sm"
role=
"button"
href=
"{% url 'machines:new-machine' users.id %}"
>
<div
class=
"panel-heading dashboard"
>
Aucune machine
</div>
<i
class=
"fa fa-desktop"
></i>
Add a machine
<div
class=
"panel-body dashboard"
>
</a>
<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
</a>
</div>
</div>
</div>
{% endif %}
</div>
</div>
{% else %}
<div
class=
"panel panel-warning"
>
<div
class=
"panel-heading dashboard"
>
No machines
</div>
<div
class=
"panel-body dashboard"
>
<a
class=
"btn btn-warning btn-sm"
role=
"button"
href=
"{% url 'machines:new-machine' users.id %}"
>
<i
class=
"fa fa-desktop"
></i>
Add a machine
</a>
</div>
</div>
{% endif %}
</div>
</div>
</div>
</div>
</div>
</div>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment