upstream V3 development https://www.gnusocial.rocks/v3
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

94 lines
3.5 KiB

  1. {% extends '/stdgrid.html.twig' %}
  2. {% block title %}{% endblock %}
  3. {% block body %}
  4. <nav class='section-settings'>
  5. <h2>Settings</h2>
  6. <ul>
  7. <li>
  8. <details class="section-title-settings">
  9. <summary>
  10. <h3>Profile {{ icon('arrow-down', 'icon icon-details-open') | raw }}</h3>
  11. <em>Personal Information, Avatar and Profile</em>
  12. </summary>
  13. <section>
  14. <nav class='section-settings-nav'>
  15. <ul>
  16. <li>
  17. <details class="section-title-settings">
  18. <summary>
  19. <h3>Personal Info{{ icon('arrow-down', 'icon icon-details-open') | raw }}</h3>
  20. <em>Nickname, Homepage, Bio, Self Tags and more.</em>
  21. </summary>
  22. {% block form_profile %}{% include '/settings/profile.html.twig' %}{% endblock %}
  23. </details>
  24. </li>
  25. <hr>
  26. {% set profile_tabs = handle_event('PopulateProfileSettingsTabs', app.request) %}
  27. {% for tab in profile_tabs %}
  28. <li>
  29. <details class="section-title-settings">
  30. <summary>
  31. <h3>{{ tab['title'] }}{{ icon('arrow-down', 'icon icon-details-open') | raw }}</h3>
  32. <em>{{ tab['desc'] }}</em>
  33. </summary>
  34. {% include tab['controller']['_template'] with tab['controller'] only %}
  35. {# <a href="{{ path(tab['route']) }}"
  36. class='hover-effect {{ active(tab['route']) }}'>{{ tab['title'] }}</a> #}
  37. </details>
  38. </li>
  39. <hr>
  40. {% endfor %}
  41. </ul>
  42. </nav>
  43. </section>
  44. </details>
  45. </li>
  46. <hr>
  47. <li>
  48. <details class="section-title-settings">
  49. <summary>
  50. <h3>Account{{ icon('arrow-down', 'icon icon-details-open') | raw }}</h3>
  51. <em>Email, Password and Language</em>
  52. </summary>
  53. <section>
  54. {% block form_account %}
  55. {% include '/settings/account.html.twig' %}
  56. {% endblock %}
  57. </section>
  58. </details>
  59. </li>
  60. <hr>
  61. <li>
  62. <details class="section-title-settings">
  63. <summary>
  64. <h3>Notifications{{ icon('arrow-down', 'icon icon-details-open') | raw }}</h3>
  65. <em>Enable/disable notifications (Email, XMPP, Replies...)</em>
  66. </summary>
  67. <section>
  68. {% block form_notify %}
  69. {% include '/settings/notifications.html.twig' %}
  70. {% endblock %}
  71. </section>
  72. </details>
  73. </li>
  74. </ul>
  75. </nav>
  76. {% endblock body %}
  77. {% block javascripts %}{% endblock %}