forked from GNUsocial/gnu-social
Eliseu Amaro
ba131bdb16
[PLUGINS][Oomox] Fixed issue where resetting colours when no entity was present would lead to an error (it expected an entity, but NULL was given)
23 lines
1001 B
Twig
23 lines
1001 B
Twig
{% extends 'base.html.twig' %}
|
|
|
|
{% import 'settings/macros.html.twig' as macros %}
|
|
|
|
{% block stylesheets %}
|
|
{{ parent() }}
|
|
<link rel="preload" href="{{ asset('assets/default_theme/pages/settings.css') }}" as="style" type="text/css">
|
|
<link rel="stylesheet" href="{{ asset('assets/default_theme/pages/settings.css') }}">
|
|
{% endblock stylesheets %}
|
|
|
|
{% block body %}
|
|
<nav class='section-settings'>
|
|
<h1>Settings</h1>
|
|
<ul>
|
|
<li>
|
|
{% set profile_tabs = [{'title': 'Personal Info', 'desc': 'Nickname, Homepage, Bio, Self Tags and more.', 'id': 'settings-personal-info', 'form': personal_info_form}] %}
|
|
{% set profile_tabs = profile_tabs|merge(handle_event('PopulateSettingsTabs', app.request, 'profile')) %}
|
|
{{ macros.settings_details_container('Profile', 'Personal Information, Avatar and Profile', 'settings-profile-details', profile_tabs, _context) }}
|
|
</li>
|
|
</ul>
|
|
</nav>
|
|
{% endblock body %}
|