mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-09-19 04:59:01 +00:00
infinoted: Update shortcut code for newer style
- Use special icon. - Upate parameters.
This commit is contained in:
parent
cd12f5d2b3
commit
8b1d5b6f57
3
LICENSES
3
LICENSES
@ -43,7 +43,8 @@ otherwise.
|
|||||||
- static/themes/default/img/network-internet.svg :: [[http://tango.freedesktop.org/][Public Domain]]
|
- 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/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/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/jsxc.png :: -
|
||||||
- static/themes/default/icons/minetest.png :: [[http://www.minetest.net/media/icon.svg][LGPL 2.1]]
|
- 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]]
|
- static/themes/default/icons/mumble.png :: [[https://commons.wikimedia.org/wiki/File:Icons_mumble.svg][BSD-3-clause]]
|
||||||
|
|||||||
@ -19,6 +19,7 @@
|
|||||||
Plinth module for infinoted.
|
Plinth module for infinoted.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
from django.urls import reverse_lazy
|
||||||
from django.utils.translation import ugettext_lazy as _
|
from django.utils.translation import ugettext_lazy as _
|
||||||
|
|
||||||
from plinth import actions
|
from plinth import actions
|
||||||
@ -81,8 +82,10 @@ def setup(helper, old_version=None):
|
|||||||
|
|
||||||
|
|
||||||
def add_shortcut():
|
def add_shortcut():
|
||||||
frontpage.add_shortcut('infinoted', title, None, 'glyphicon-pencil',
|
frontpage.add_shortcut('infinoted', title, url=None,
|
||||||
description)
|
details=description,
|
||||||
|
configure_url=reverse_lazy('infinoted:index'),
|
||||||
|
login_required=False)
|
||||||
|
|
||||||
|
|
||||||
def enable():
|
def enable():
|
||||||
|
|||||||
BIN
static/themes/default/icons/infinoted.png
Normal file
BIN
static/themes/default/icons/infinoted.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 58 KiB |
Loading…
x
Reference in New Issue
Block a user