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
6b989614
Commit
6b989614
authored
Jun 16, 2018
by
grisel-davy
Committed by
Gabriel Detraz
Jul 23, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Prise en compte du bannissement et déployement des des infos si clique dans les titres
parent
c5af76f9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
13 deletions
+24
-13
users/templates/users/profil.html
users/templates/users/profil.html
+24
-13
No files found.
users/templates/users/profil.html
View file @
6b989614
...
...
@@ -40,20 +40,28 @@ with this program; if not, write to the Free Software Foundation, Inc.,
<div
class=
"col-sm-6 col-md-6"
>
{% endif %}
<div
class=
"col-12"
>
{% if users.is_adherent %}
<div
class=
"panel panel-success"
>
<div
class=
"panel-heading dashboard"
>
Connécté
</div>
<div
class=
"panel-body dashboard"
><i
class=
"text-success"
>
Fin de connexion: {{user.end_adhesion|date:"d M Y"}}
</i></div>
</div>
{% else %}
{% if users.is_ban%}
<div
class=
"panel panel-danger"
>
<div
class=
"panel-heading dashboard"
>
Non connécté
</div>
<div
class=
"panel-heading dashboard"
>
Votre compte est banni
</div>
<div
class=
"panel-body dashboard"
>
<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
</a>
<i
class=
"text-danger"
>
Fin du ban : {{user.end_ban|date:"d M Y"}}
</i>
</div>
</div>
{% elif not users.is_adherent%}
<div
class=
"panel panel-danger"
>
<div
class=
"panel-heading dashboard"
>
Non Connécté
</div>
<div
class=
"panel-body dashboard"
>
<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
</a>
</div>
{% else %}
<div
class=
"panel panel-success"
>
<div
class=
"panel-heading dashboard"
>
Connécté
</div>
<div
class=
"panel-body dashboard"
>
<i
class=
"text-success"
>
Fin de connexion: {{user.end_adhesion|date:"d M Y"}}
</i>
</div>
</div>
{% endif %}
</div>
...
...
@@ -63,7 +71,10 @@ with this program; if not, write to the Free Software Foundation, Inc.,
<div
class=
"col-12"
>
<div
class=
"col-12"
>
<div
class=
"panel panel-info"
>
<div
class=
"panel-heading dashboard"
>
{{user.solde}}
<i
class=
"fas fa-euro-sign"
></i></div>
<div
class=
"panel-heading dashboard"
data-parent=
"#accordion"
data-toggle=
"collapse"
data-target=
"#collapse4"
>
{{user.solde}}
<i
class=
"fas fa-euro-sign"
></i>
</div>
<div
class=
"panel-body dashboard"
>
<a
class=
"btn btn-primary btn-sm"
role=
"button"
href=
"{% url 'cotisations:credit-solde' users.id %}"
>
<i
class=
"fa fa-euro-sign"
></i>
...
...
@@ -83,7 +94,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
<div
class=
"col-12"
>
{% if nb_machines %}
<div
class=
"panel panel-info"
>
<div
class=
"panel-heading dashboard"
>
<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>
...
...
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