X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/3204e4303148302d278036eebcfc8cb105cc97d7..d09f3124b97114073e9a072fb730badf6d59ae77:/src/toolbar/admin.py?ds=sidebyside diff --git a/src/toolbar/admin.py b/src/toolbar/admin.py index 9d3c68d9..1fa695b2 100644 --- a/src/toolbar/admin.py +++ b/src/toolbar/admin.py @@ -1,3 +1,6 @@ +# This file is part of FNP-Redakcja, licensed under GNU Affero GPLv3 or later. +# Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information. +# from django.contrib import admin from django.utils.translation import ugettext_lazy as _ from django import forms @@ -21,7 +24,7 @@ class ButtonAdminForm(forms.ModelForm): class ButtonAdmin(admin.ModelAdmin): form = ButtonAdminForm - list_display = ('slug', 'label', 'tooltip', 'accesskey') + list_display = ('slug', 'label', 'tooltip', 'accesskey', 'scriptlet') list_display_links = ('slug',) list_editable = ('label', 'tooltip', 'accesskey') prepopulated_fields = {'slug': ('label',)}