Commit 62faa241 authored by erdnaxe's avatar erdnaxe 🎇

Little sporz fix

parent fa94ac76
Pipeline #1459 passed with stage
in 3 minutes and 30 seconds
......@@ -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
```
......@@ -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, ]
......
......@@ -91,7 +91,7 @@ msgstr "Enquêteur"
#: models.py:67
msgid "Traitor"
msgstr "Traite"
msgstr "Traître"
#: models.py:75
msgid "Neutral"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment