infinoted: Update shortcut code for newer style

- Use special icon.

- Upate parameters.
This commit is contained in:
Sunil Mohan Adapa 2017-01-18 10:04:17 +05:30
parent cd12f5d2b3
commit 8b1d5b6f57
No known key found for this signature in database
GPG Key ID: 43EA1CFF0AA7C5F2
3 changed files with 7 additions and 3 deletions

View File

@ -43,7 +43,8 @@ otherwise.
- static/themes/default/img/network-internet.svg :: [[http://tango.freedesktop.org/][Public Domain]]
- static/themes/default/img/network-wireless.svg :: [[http://tango.freedesktop.org/][Public Domain]]
- static/themes/default/icons/deluge.png :: [[https://upload.wikimedia.org/wikipedia/commons/thumb/8/85//Deluge-Logo.svg/2000px-Deluge-Logo.svg.png][GPL]]
- static/themes/default/icons/ikiwiki.png ::[[https://ikiwiki.info/][GPL-2+]]
- static/themes/default/icons/infinoted.png :: [[https://github.com/gobby/gobby/blob/master/COPYING][ISC]]
- static/themes/default/icons/ikiwiki.png :: [[https://ikiwiki.info/][GPL-2+]]
- static/themes/default/icons/jsxc.png :: -
- static/themes/default/icons/minetest.png :: [[http://www.minetest.net/media/icon.svg][LGPL 2.1]]
- static/themes/default/icons/mumble.png :: [[https://commons.wikimedia.org/wiki/File:Icons_mumble.svg][BSD-3-clause]]

View File

@ -19,6 +19,7 @@
Plinth module for infinoted.
"""
from django.urls import reverse_lazy
from django.utils.translation import ugettext_lazy as _
from plinth import actions
@ -81,8 +82,10 @@ def setup(helper, old_version=None):
def add_shortcut():
frontpage.add_shortcut('infinoted', title, None, 'glyphicon-pencil',
description)
frontpage.add_shortcut('infinoted', title, url=None,
details=description,
configure_url=reverse_lazy('infinoted:index'),
login_required=False)
def enable():

Binary file not shown.

After

Width:  |  Height:  |  Size: 58 KiB