diff --git a/plinth/frontpage.py b/plinth/frontpage.py index 397ba05d1..6429649f6 100644 --- a/plinth/frontpage.py +++ b/plinth/frontpage.py @@ -38,7 +38,8 @@ def add_shortcut(shortcut_id, name, short_description="", login_required=False, if not icon: icon = shortcut_id - label = '{0}\n({1})'.format(short_description, name) + label = '{0}\n({1})'.format(short_description, name) if short_description \ + else name shortcuts[shortcut_id] = { 'id': shortcut_id, diff --git a/plinth/modules/infinoted/__init__.py b/plinth/modules/infinoted/__init__.py index 15ba20576..efb9d6549 100644 --- a/plinth/modules/infinoted/__init__.py +++ b/plinth/modules/infinoted/__init__.py @@ -92,7 +92,8 @@ def setup(helper, old_version=None): def add_shortcut(): - frontpage.add_shortcut('infinoted', name, url=None, + frontpage.add_shortcut('infinoted', name, + short_description=short_description, url=None, details=description, configure_url=reverse_lazy('infinoted:index'), login_required=False) diff --git a/plinth/modules/jsxc/__init__.py b/plinth/modules/jsxc/__init__.py index 4ddb4ff1e..0d7a8c3b6 100644 --- a/plinth/modules/jsxc/__init__.py +++ b/plinth/modules/jsxc/__init__.py @@ -77,7 +77,8 @@ def setup(helper, old_version=None): def add_shortcut(): - frontpage.add_shortcut('jsxc', _('Chat Client \n (jsxc)'), + frontpage.add_shortcut('jsxc', name=name, + short_description=short_description, url=reverse_lazy('jsxc:jsxc'), login_required=True)