[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 committed by Diogo Peralta Cordeiro
parent 085a98cea3
commit d95e51a030

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>