We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
fof-byobu
1 parent e7c6ca8 commit ccde337Copy full SHA for ccde337
2 files changed
js/src/common/MobileTabItemsRegistry.tsx
@@ -61,6 +61,16 @@ export default class MobileTabItemsRegistry {
61
});
62
}
63
64
+ if ('fof-byobu' in flarum.extensions) {
65
+ itemList.add('fof-byobu', {
66
+ icon: app.forum.attribute('byobu.icon-badge') || 'fas fa-map',
67
+ href: () => app.route('byobuPrivate'),
68
+ label: app.translator.trans('acpl-mobile-tab.lib.item.fof-byobu'),
69
+ canView: !!app.session.user,
70
+ source: 'core',
71
+ });
72
+ }
73
+
74
app.store.all<CustomTabItem>('custom-tab-items').forEach((item) => {
75
itemList.add(`custom-${item.id()}`, {
76
label: item.label(),
locale/en.yml
@@ -34,3 +34,4 @@ acpl-mobile-tab:
34
profile: "Profile"
35
tags: "Tags"
36
messages: "Messages"
37
+ fof-byobu: "Private"
0 commit comments