1
0
mirror of https://gitlab.crans.org/mediatek/med.git synced 2024-12-24 18:22:24 +00:00

Little sporz fix

This commit is contained in:
Alexandre Iooss 2019-08-16 15:19:55 +02:00
parent fa94ac7689
commit 62faa241d2
No known key found for this signature in database
GPG Key ID: 6C79278F3FCDCC02
3 changed files with 25 additions and 22 deletions

View File

@ -58,34 +58,33 @@ bureau
+ permissions keyholder
keyholder
media | Can view auteur
media | Can add auteur
media | Can change auteur
media | Can delete auteur
media | Can view media
media | Can add media
media | Can change media
media | Can delete media
media | Can view jeu
media | Can add jeu
media | Can change jeu
media | Can delete jeu
media | Can view emprunt
media | Can add emprunt
media | Can change emprunt
media | Can delete emprunt
media | Can view author
media | Can add author
media | Can change author
media | Can delete author
media | Can view medium
media | Can add medium
media | Can change medium
media | Can delete medium
media | Can view game
media | Can add game
media | Can change game
media | Can delete game
media | Can view borrowed item
media | Can add borrowed item
media | Can change borrowed item
media | Can delete borrowed item
users | Can view user
users | Can view clef
users (default group for everyone)
media | Can view auteur
media | Can view media
media | Can view jeu
media | Can view author
media | Can view game
media | Can view medium
sporz | Can add gamesave
sporz | Can change gamesave
sporz | Can delete gamesave
sporz | Can view player
sporz | Can add player
sporz | Can change player
sporz | Can delete player
sporz | Can view player
```

View File

@ -13,6 +13,10 @@ from .models import GameSave, Player
class PlayerInline(admin.TabularInline):
model = Player
# Do not always show extra players
extra = 0
min_num = 5
class GameSaveAdmin(admin.ModelAdmin):
inlines = [PlayerInline, ]

View File

@ -91,7 +91,7 @@ msgstr "Enquêteur"
#: models.py:67
msgid "Traitor"
msgstr "Traite"
msgstr "Traître"
#: models.py:75
msgid "Neutral"