mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-11-29 08:25:10 +00:00
ui: Show breadcrumbs on deeper pages
- Don't show them on section pages: home, apps, system and help pages. - Tweak the appearance so that home icon is bigger, spacing between crumbs is larger and to use '>' as separator. - Change the name of the help menu item to show the value in breadcrumbs. - Change the URLs for anchors in the help page so that they don't appear as part of the breadcrumbs. Tests: - Section pages: home, apps, system and help pages don't have breadcrumbs. - Visit various pages. Breadcrumbs are shown and all the links in the breadcrumbs work as expected. - Mobile view looks good. Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: Veiko Aasa <veiko17@disroot.org>
This commit is contained in:
1 parent
016b6d0c29
commit
4e900be128
5 files changed
+46
-7
No files matched your search
@@ -30,7 +30,7 @@ class HelpApp(app_module.App):
|
||||
is_essential=True)
|
||||
self.add(info)
|
||||
|
||||
menu_item = menu.Menu('menu-help', _('Documentation'), None, 'fa-book',
|
||||
menu_item = menu.Menu('menu-help', _('Help'), None, 'fa-book',
|
||||
'help:index', parent_url_name='index')
|
||||
self.add(menu_item)
|
||||
menu_item = menu.Menu('menu-help-manual',
|
||||
|
||||
Reference in new issue
Block a user