diff --git a/CONTRIBUTORS.rst b/CONTRIBUTORS.rst index 1c44d95ea5..dd187228de 100644 --- a/CONTRIBUTORS.rst +++ b/CONTRIBUTORS.rst @@ -195,6 +195,7 @@ Contributors * MattRijk * Marco Fucci * Mihail Russu +* Robert Slotboom Translators =========== diff --git a/wagtail/wagtailadmin/wagtail_hooks.py b/wagtail/wagtailadmin/wagtail_hooks.py index 426bef30b9..44e45fc16c 100644 --- a/wagtail/wagtailadmin/wagtail_hooks.py +++ b/wagtail/wagtailadmin/wagtail_hooks.py @@ -77,10 +77,10 @@ def page_listing_buttons(page, page_perms, is_parent=False): if page_perms.can_add_subpage(): if is_parent: yield Button(_('Add child page'), reverse('wagtailadmin_pages:add_subpage', args=[page.id]), - attrs={'title': _("Add a child page to '{0}' ".format(page.get_admin_display_title()))}, classes={'button', 'button-small', 'bicolor', 'icon', 'white', 'icon-plus'}, priority=40) + attrs={'title': _("Add a child page to '{0}' ").format(page.get_admin_display_title())}, classes={'button', 'button-small', 'bicolor', 'icon', 'white', 'icon-plus'}, priority=40) else: yield PageListingButton(_('Add child page'), reverse('wagtailadmin_pages:add_subpage', args=[page.id]), - attrs={'title': _("Add a child page to '{0}' ".format(page.get_admin_display_title()))}, priority=40) + attrs={'title': _("Add a child page to '{0}' ").format(page.get_admin_display_title())}, priority=40) yield ButtonWithDropdownFromHook( _('More'),