2023-10-07 08:20:22 +00:00

17 lines
495 B
Python

from allianceauth.menu.hooks import MenuItemHook
from . import urls
from django.utils.translation import gettext_lazy as _
from allianceauth import hooks
from allianceauth.services.hooks import UrlHook
@hooks.register('menu_item_hook')
def register_menu():
return MenuItemHook(_('Fleet Activity Tracking'), 'fas fa-users fa-fw', 'fatlink:view',
navactive=['fatlink:'])
@hooks.register('url_hook')
def register_url():
return UrlHook(urls, 'fatlink', r'^fat/')