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.
 
 
 
 
 
 

136 lines
5.1 KiB

  1. {% block timeline %}
  2. <section class="section-widget section-widget-padded">
  3. <h2 class="section-title">{{ icon('logo', 'icon icon-logo') | raw }} Timeline</h2>
  4. <nav class='sec-nav' tabindex="0" title="{{ 'Navigate through each timeline.' | trans }}">
  5. <ul>
  6. <li>
  7. <a href="{{ path('main_public') }}" class='{{ active('main_public') }}'>
  8. Public
  9. </a>
  10. </li>
  11. <li>
  12. {% if app.user %}
  13. <a href="{{ path("home_all", {'nickname' : current_actor.getNickname()}) }}" class='{{ active("home_all") }}'>
  14. Home
  15. </a>
  16. {% endif %}
  17. </li>
  18. <li>
  19. <a href="{{ path('main_all') }}" class='hover-effect {{ active('main_all') }}'>
  20. Network
  21. </a>
  22. </li>
  23. {% if app.user %}
  24. {% for link in handle_event('AddMainNavigationItem', {'nickname': current_actor.getNickname()}) %}
  25. <li>
  26. <a href="{{ link['path'] }}" class='{{ active(link['path_id']) }}'>
  27. {{ link['title'] }}
  28. </a>
  29. </li>
  30. {% endfor %}
  31. {% endif %}
  32. </ul>
  33. </nav>
  34. </section>
  35. {% endblock timeline %}
  36. {% block group %}
  37. <section class="section-widget section-widget-padded">
  38. <h2 class="section-title">{{ icon('logo', 'icon icon-logo') | raw }} Group</h2>
  39. <nav class='sec-nav' tabindex="0" title="{{ 'Navigate through each timeline.' | trans }}">
  40. <ul>
  41. <li>
  42. <a href="{{ path('main_public') }}" class='{{ active('main_public') }}'>
  43. Public
  44. </a>
  45. </li>
  46. <li>
  47. {% if app.user %}
  48. <a href="{{ path("home_all", {'nickname' : current_actor.getNickname()}) }}" class='{{ active("home_all") }}'>
  49. Home
  50. </a>
  51. {% endif %}
  52. </li>
  53. <li>
  54. <a href="{{ path('main_all') }}" class='hover-effect {{ active('main_all') }}'>
  55. Network
  56. </a>
  57. </li>
  58. {% if app.user %}
  59. {% for link in handle_event('AddMainNavigationItem', {'nickname': current_actor.getNickname()}) %}
  60. <li>
  61. <a href="{{ link['path'] }}" class='{{ active(link['path_id']) }}'>
  62. {{ link['title'] }}
  63. </a>
  64. </li>
  65. {% endfor %}
  66. {% endif %}
  67. </ul>
  68. </nav>
  69. </section>
  70. {% endblock group %}
  71. {% block profile_current_actor %}
  72. <nav tabindex="0" class="profile-navigation" title="{{ 'Navigate through account related pages.' | trans }}">
  73. <a title='{{ 'Replies to your notes.' | trans }}' href="{{ path('replies', {'nickname' : current_actor.getNickname()}) }}" class='{{ active("replies") }}'>
  74. Replies
  75. </a>
  76. {% for tab in handle_event('AddProfileNavigationItem', {'nickname': current_actor.getNickname()}) %}
  77. <a href="{{ tab['path'] }}" class='{{ active(tab['path_id']) }}'>
  78. {{ tab['title'] }}
  79. </a>
  80. {% endfor %}
  81. <a title='{{ 'Access your account settings.' | trans }}' href="{{ path('settings') }}" class='{{ active('settings') }}'>
  82. Settings
  83. </a>
  84. <a title='{{ 'Logout from your account.' | trans }}' href='{{ path('security_logout') }}'>
  85. Logout
  86. </a>
  87. </nav>
  88. {% endblock profile_current_actor %}
  89. {% block profile_security %}
  90. <section class='section-widget section-widget-padded' title="{{ 'Your profile information.' | trans }}">
  91. <h2 class="section-title">Account</h2>
  92. <nav tabindex="0" class="profile-navigation" title="{{ 'Navigate through account related pages.' | trans }}">
  93. <a title='{{ 'Login with your existing account.' | trans }}' href="{{ path('security_login') }}" class='hover-effect {{ active('login') }}'>
  94. Login
  95. </a>
  96. <a title='{{ 'Register a new account!' | trans }}' href="{{ path('security_register') }}">
  97. Register
  98. </a>
  99. </nav>
  100. </section>
  101. {% endblock profile_security %}
  102. {% block footer %}
  103. <footer class="footer">
  104. <nav>
  105. <a href="{{ path('doc_faq') }}" class='hover-effect {{ active('doc_faq') }}'>
  106. FAQ
  107. </a>
  108. <a href="{{ path('doc_tos') }}" class='hover-effect {{ active('doc_tos') }}'>
  109. TOS
  110. </a>
  111. <a href="{{ path('doc_privacy') }}" class='hover-effect {{ active('doc_privacy') }}'>
  112. Privacy
  113. </a>
  114. <a href="{{ path('doc_source') }}" class='hover-effect {{ active('doc_source') }}'>
  115. Source
  116. </a>
  117. <a href="{{ path('doc_version') }}" class='hover-effect {{ active('doc_version') }}'>
  118. Version
  119. </a>
  120. </nav>
  121. </footer>
  122. {% endblock footer %}