apps: Remove link to webapps in app descriptions

[sunil: Fix trailing white space in description]
[sunil: Fix removal of wrong message from ttrss app]
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
This commit is contained in:
Alice Kile 2019-11-21 15:29:18 +05:30 committed by Sunil Mohan Adapa
parent ee03357f65
commit 4969efd3b9
No known key found for this signature in database
GPG Key ID: 43EA1CFF0AA7C5F2
6 changed files with 26 additions and 37 deletions

View File

@ -54,11 +54,9 @@ description = [
'required. A web based terminal for console operations is also '
'available.'), box_name=_(cfg.box_name)),
format_lazy(
_('When enabled, Cockpit will be available from <a href="/_cockpit/" '
'data-turbolinks="false">/_cockpit/</a> path on the web server. It '
'can be accessed by <a href="{users_url}">any user</a> on '
_('It can be accessed by <a href="{users_url}">any user</a> on '
'{box_name} belonging to the admin group.'),
box_name=_(cfg.box_name), users_url=reverse_lazy('users:index')),
box_name=_(cfg.box_name), users_url=reverse_lazy('users:index'))
]
manual_page = 'Cockpit'

View File

@ -42,9 +42,7 @@ short_description = _('BitTorrent Web Client')
description = [
_('Deluge is a BitTorrent client that features a Web UI.'),
_('When enabled, the Deluge web client will be available from '
'<a href="/deluge" data-turbolinks="false">/deluge</a> path on the web '
'server. The default password is \'deluge\', but you should log in and '
_('The default password is \'deluge\', but you should log in and '
'change it immediately after enabling this service.')
]
@ -71,10 +69,11 @@ class DelugeApp(app_module.App):
'deluge:index', parent_url_name='apps')
self.add(menu_item)
shortcut = frontpage.Shortcut(
'shortcut-deluge', name, short_description=short_description,
url='/deluge', icon='deluge', clients=clients, login_required=True,
allowed_groups=[group[0]])
shortcut = frontpage.Shortcut('shortcut-deluge', name,
short_description=short_description,
url='/deluge', icon='deluge',
clients=clients, login_required=True,
allowed_groups=[group[0]])
self.add(shortcut)
firewall = Firewall('firewall-deluge', name, ports=['http', 'https'],

View File

@ -45,10 +45,7 @@ short_description = _('Wiki and Blog')
description = [
_('ikiwiki is a simple wiki and blog application. It supports '
'several lightweight markup languages, including Markdown, and '
'common blogging functionality such as comments and RSS feeds. '
'When enabled, the blogs and wikis will be available at '
'<a href="/ikiwiki" data-turbolinks="false">/ikiwiki</a> '
'(once created).'),
'common blogging functionality such as comments and RSS feeds.'),
format_lazy(
_('Only {box_name} users in the <b>admin</b> group can <i>create</i> '
'and <i>manage</i> blogs and wikis, but any user in the <b>wiki</b> '

View File

@ -54,10 +54,6 @@ description = [
'user\'s set of devices may be synchronized with a distinct set of '
'folders. The web interface on {box_name} is only available for '
'users belonging to the "admin" group.'), box_name=_(cfg.box_name)),
_('When enabled, Syncthing\'s web interface will be available from '
'<a href="/syncthing/" data-turbolinks="false">/syncthing</a>. '
'Desktop and mobile clients are also <a href="https://syncthing.net/">'
'available</a>.'),
]
clients = clients
@ -82,10 +78,11 @@ class SyncthingApp(app_module.App):
parent_url_name='apps')
self.add(menu_item)
shortcut = frontpage.Shortcut(
'shortcut-syncthing', name, short_description=short_description,
icon='syncthing', url='/syncthing/', clients=clients,
login_required=True, allowed_groups=[group[0]])
shortcut = frontpage.Shortcut('shortcut-syncthing', name,
short_description=short_description,
icon='syncthing', url='/syncthing/',
clients=clients, login_required=True,
allowed_groups=[group[0]])
self.add(shortcut)
firewall = Firewall('firewall-syncthing-web', name,

View File

@ -46,8 +46,6 @@ description = [
_('BitTorrent is a peer-to-peer file sharing protocol. '
'Transmission daemon handles Bitorrent file sharing. Note that '
'BitTorrent is not anonymous.'),
_('Access the web interface at '
'<a href="/transmission" data-turbolinks="false">/transmission</a>.')
]
clients = clients
@ -74,10 +72,11 @@ class TransmissionApp(app_module.App):
parent_url_name='apps')
self.add(menu_item)
shortcut = frontpage.Shortcut(
'shortcut-transmission', name, short_description=short_description,
icon='transmission', url='/transmission', clients=clients,
login_required=True, allowed_groups=[group[0]])
shortcut = frontpage.Shortcut('shortcut-transmission', name,
short_description=short_description,
icon='transmission', url='/transmission',
clients=clients, login_required=True,
allowed_groups=[group[0]])
self.add(shortcut)
firewall = Firewall('firewall-transmission', name,

View File

@ -49,10 +49,8 @@ description = [
'designed to allow reading news from any location, while feeling as '
'close to a real desktop application as possible.'),
format_lazy(
_('When enabled, Tiny Tiny RSS will be available from <a href="/tt-'
'rss" data-turbolinks="false">/tt-rss</a> path on the web server. '
'It can be accessed by any <a href="{users_url}">user with a '
'{box_name} login</a>.'),
_('When enabled, Tiny Tiny RSS can be accessed by any '
'<a href="{users_url}">user with a {box_name} login</a>.'),
box_name=_(cfg.box_name), users_url=reverse_lazy('users:index')),
format_lazy(
_('When using a mobile or desktop application for Tiny Tiny RSS, use '
@ -81,10 +79,11 @@ class TTRSSApp(app_module.App):
'ttrss:index', parent_url_name='apps')
self.add(menu_item)
shortcut = frontpage.Shortcut(
'shortcut-ttrss', name, short_description=short_description,
icon='ttrss', url='/tt-rss', clients=clients, login_required=True,
allowed_groups=[group[0]])
shortcut = frontpage.Shortcut('shortcut-ttrss', name,
short_description=short_description,
icon='ttrss', url='/tt-rss',
clients=clients, login_required=True,
allowed_groups=[group[0]])
self.add(shortcut)
firewall = Firewall('firewall-ttrss', name, ports=['http', 'https'],