forked from AdminTL/gestion_personnage_TL
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[AdminTL#83] character: add argument to disable user character
- this will block user to access to our character - admin has access in readonly to the character - use disable_login instead of invalid_login
- Loading branch information
Showing
8 changed files
with
43 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,16 +2,20 @@ | |
|
||
{% block content %} | ||
|
||
{% if invalid_login == "disable_login" %} | ||
{% if disable_login %} | ||
<div class="col-sm-offset-4"> | ||
<!-- form login block --> | ||
<h1>Pour accéder à votre fiche de personnage, veuillez communiquer avec l'organisation du grandeur nature Traître-Lame.</h1> | ||
<a href="mailto:[email protected]"><u>Par courriel: <i class="fa fa-at"></i></u></a> [email protected]<br/> | ||
<a href="https://www.facebook.com/groups/TraitreLame"><u>Via le groupe Facebook.</u> <i | ||
class="fa fa-link"></i></a><br/> | ||
L'accès au compte et création de personnage est désactivé. | ||
<h1>L'accès au compte utilisateur est désactivé.</h1> | ||
</div> | ||
|
||
{% elif disable_user_character %} | ||
<div class="col-sm-offset-4"> | ||
<!-- form login block --> | ||
<h1>L'accès à la création de personnage est désactivé.</h1> | ||
</div> | ||
|
||
{% else %} | ||
|
||
<div ng-controller="character_ctrl" ng-cloak> | ||
<div ng-show="no_character" class="col-sm-offset-4"> | ||
<h1>Formulaire de nouvelle fiche</h1> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters