1
0
mirror of https://gitlab.crans.org/mediatek/med.git synced 2024-11-27 00:47:10 +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 + 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
``` ```

View File

@ -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, ]

View File

@ -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"