mirror of
https://gitlab.com/allianceauth/allianceauth.git
synced 2025-07-18 00:40:16 +02:00
19 lines
496 B
Python
19 lines
496 B
Python
from django.utils.translation import gettext_lazy as _
|
|
|
|
from allianceauth import hooks
|
|
from allianceauth.menu.hooks import MenuItemHook
|
|
from allianceauth.services.hooks import UrlHook
|
|
|
|
from . import urls
|
|
|
|
|
|
@hooks.register('menu_item_hook')
|
|
def register_menu():
|
|
return MenuItemHook(_('Fleet Activity Tracking'), 'fa-solid fa-users', 'fatlink:view',
|
|
navactive=['fatlink:'])
|
|
|
|
|
|
@hooks.register('url_hook')
|
|
def register_url():
|
|
return UrlHook(urls, 'fatlink', r'^fat/')
|