From e5eaf67fa0a2d80e231cead08f9ed351c786e2e0 Mon Sep 17 00:00:00 2001 From: Sunil Mohan Adapa Date: Fri, 20 Jan 2017 16:48:19 +0530 Subject: [PATCH] ikiwiki: Fix showing icon for newly created wiki/blog The add shortcut API was changed but the call where we add shortcuts after creating wiki/blog was not updated. Closes #719. --- plinth/modules/ikiwiki/views.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/plinth/modules/ikiwiki/views.py b/plinth/modules/ikiwiki/views.py index d807ffc5f..a26b6e0b3 100644 --- a/plinth/modules/ikiwiki/views.py +++ b/plinth/modules/ikiwiki/views.py @@ -83,8 +83,9 @@ def create(request): form.cleaned_data['admin_password']) site = form.cleaned_data['name'].replace(' ', '') - frontpage.add_shortcut('ikiwiki_' + site, site, - '/ikiwiki/' + site, 'glyphicon-edit') + frontpage.add_shortcut( + 'ikiwiki_' + site, site, url='/ikiwiki/' + site, + login_required=False, icon='ikiwiki') return redirect(reverse_lazy('ikiwiki:manage')) else: