mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-09-19 04:59:01 +00:00
radicale: Add description of web interface
Signed-off-by: James Valleroy <jvalleroy@mailbox.org> Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
This commit is contained in:
parent
a4887ef0d0
commit
8a60581f3d
@ -24,7 +24,6 @@ from distutils.version import LooseVersion as LV
|
|||||||
|
|
||||||
from apt.cache import Cache
|
from apt.cache import Cache
|
||||||
import augeas
|
import augeas
|
||||||
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 action_utils, actions, cfg, frontpage
|
from plinth import action_utils, actions, cfg, frontpage
|
||||||
@ -53,6 +52,10 @@ description = [
|
|||||||
'<a href="http://radicale.org/clients/">supported client '
|
'<a href="http://radicale.org/clients/">supported client '
|
||||||
'application</a> is needed. Radicale can be accessed by any user '
|
'application</a> is needed. Radicale can be accessed by any user '
|
||||||
'with a {box_name} login.'), box_name=_(cfg.box_name)),
|
'with a {box_name} login.'), box_name=_(cfg.box_name)),
|
||||||
|
|
||||||
|
_('Radicale provides a basic web interface, which only supports creating '
|
||||||
|
'new calendars and addressbooks. It does not support adding events or '
|
||||||
|
'contacts, which must be done using a separate client.'),
|
||||||
]
|
]
|
||||||
|
|
||||||
clients = clients
|
clients = clients
|
||||||
@ -124,10 +127,9 @@ def setup(helper, old_version=None):
|
|||||||
|
|
||||||
|
|
||||||
def add_shortcut():
|
def add_shortcut():
|
||||||
frontpage.add_shortcut(
|
frontpage.add_shortcut('radicale', name,
|
||||||
'radicale', name, short_description=short_description,
|
short_description=short_description,
|
||||||
details=description, configure_url=reverse_lazy('radicale:index'),
|
url='/radicale/', login_required=True)
|
||||||
login_required=True)
|
|
||||||
|
|
||||||
|
|
||||||
def get_package_version():
|
def get_package_version():
|
||||||
|
|||||||
@ -85,6 +85,13 @@ clients = validate([{
|
|||||||
'format': 'deb',
|
'format': 'deb',
|
||||||
'name': 'evolution'
|
'name': 'evolution'
|
||||||
}]
|
}]
|
||||||
|
}, {
|
||||||
|
'name':
|
||||||
|
_('Radicale'),
|
||||||
|
'platforms': [{
|
||||||
|
'type': 'web',
|
||||||
|
'url': '/radicale/'
|
||||||
|
}]
|
||||||
}])
|
}])
|
||||||
|
|
||||||
backup = validate_backup({
|
backup = validate_backup({
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user