[LEFT][EVENT] Add event allowing plugins to add links to the left panel

This commit is contained in:
Hugo Sales 2021-04-15 00:58:09 +00:00
parent 8e56dbb95c
commit 1b7c48c732
Signed by: someonewithpc
GPG Key ID: 7D0C7EAFC9D835A0
1 changed files with 1 additions and 2 deletions

View File

@ -44,8 +44,7 @@
</div>
<a href='#'>Messages</a>
<a href="{{ path("replies", {'nickname' : user_nickname}) }}" class='hover-effect {{ active("replies") }}'>Replies</a>
<a href="{{ path("favourites", {'nickname' : user_nickname}) }}" class='hover-effect {{ active("favourites") }}'>Favourites</a>
<a href="{{ path("reversefavs", {'nickname' : user_nickname}) }}" class='hover-effect {{ active("reversefavs") }}'>Reverse Favs</a>
{{ handle_event('InsertLeftPanelLink', user_nickname) | raw }}
<a href="{{ path('settings_personal_info') }}" class='hover-effect {{ active('settings_') }}'>Settings</a>
<a href='{{ path('logout') }}'>Logout</a>
</div>