Little sporz fix
This commit is contained in:
parent
fa94ac7689
commit
62faa241d2
41
README.md
41
README.md
|
@ -58,34 +58,33 @@ bureau
|
||||||
+ permissions keyholder
|
+ permissions keyholder
|
||||||
|
|
||||||
keyholder
|
keyholder
|
||||||
media | Can view auteur
|
media | Can view author
|
||||||
media | Can add auteur
|
media | Can add author
|
||||||
media | Can change auteur
|
media | Can change author
|
||||||
media | Can delete auteur
|
media | Can delete author
|
||||||
media | Can view media
|
media | Can view medium
|
||||||
media | Can add media
|
media | Can add medium
|
||||||
media | Can change media
|
media | Can change medium
|
||||||
media | Can delete media
|
media | Can delete medium
|
||||||
media | Can view jeu
|
media | Can view game
|
||||||
media | Can add jeu
|
media | Can add game
|
||||||
media | Can change jeu
|
media | Can change game
|
||||||
media | Can delete jeu
|
media | Can delete game
|
||||||
media | Can view emprunt
|
media | Can view borrowed item
|
||||||
media | Can add emprunt
|
media | Can add borrowed item
|
||||||
media | Can change emprunt
|
media | Can change borrowed item
|
||||||
media | Can delete emprunt
|
media | Can delete borrowed item
|
||||||
users | Can view user
|
users | Can view user
|
||||||
users | Can view clef
|
users | Can view clef
|
||||||
|
|
||||||
users (default group for everyone)
|
users (default group for everyone)
|
||||||
media | Can view auteur
|
media | Can view author
|
||||||
media | Can view media
|
media | Can view game
|
||||||
media | Can view jeu
|
media | Can view medium
|
||||||
sporz | Can add gamesave
|
sporz | Can add gamesave
|
||||||
sporz | Can change gamesave
|
sporz | Can change gamesave
|
||||||
sporz | Can delete gamesave
|
|
||||||
sporz | Can view player
|
|
||||||
sporz | Can add player
|
sporz | Can add player
|
||||||
sporz | Can change player
|
sporz | Can change player
|
||||||
sporz | Can delete player
|
sporz | Can delete player
|
||||||
|
sporz | Can view player
|
||||||
```
|
```
|
||||||
|
|
|
@ -13,6 +13,10 @@ from .models import GameSave, Player
|
||||||
class PlayerInline(admin.TabularInline):
|
class PlayerInline(admin.TabularInline):
|
||||||
model = Player
|
model = Player
|
||||||
|
|
||||||
|
# Do not always show extra players
|
||||||
|
extra = 0
|
||||||
|
min_num = 5
|
||||||
|
|
||||||
|
|
||||||
class GameSaveAdmin(admin.ModelAdmin):
|
class GameSaveAdmin(admin.ModelAdmin):
|
||||||
inlines = [PlayerInline, ]
|
inlines = [PlayerInline, ]
|
||||||
|
|
|
@ -91,7 +91,7 @@ msgstr "Enquêteur"
|
||||||
|
|
||||||
#: models.py:67
|
#: models.py:67
|
||||||
msgid "Traitor"
|
msgid "Traitor"
|
||||||
msgstr "Traite"
|
msgstr "Traître"
|
||||||
|
|
||||||
#: models.py:75
|
#: models.py:75
|
||||||
msgid "Neutral"
|
msgid "Neutral"
|
||||||
|
|
Loading…
Reference in New Issue