- Timestamp:
- 07/18/2026 12:53:15 AM (8 weeks ago)
- Branches:
- main
- Children:
- 05cd954
- Parents:
- 7d19465
- git-author:
- Robin <roboburr@…> (07/18/2026 12:52:51 AM)
- git-committer:
- Robin <roboburr@…> (07/18/2026 12:53:15 AM)
- Location:
- src/views
- Files:
-
- 1 added
- 1 edited
-
pages/messages.ejs (added)
-
partials/fedi-tabs.ejs (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/views/partials/fedi-tabs.ejs
r7d19465 rf1a23b8 1 1 <%# Shared tab bar for the unified Fediverse section. Owner/admin-only. 2 Param: active = 'feed' | 'following' | 'reacties' | 'meldingen' | 'blokkeren'. 2 Param: active = 'feed' | 'connect' | 'berichten' | 'blokkeren' 3 (legacy values 'following'/'followers' → Connect, 'reacties'/'meldingen' → Berichten). 3 4 All tabs share the content width equally (flex:1) and always fit (ellipsis). 4 5 "Back to site" lives in the top nav, not here. %> … … 10 11 <a href="/connect" class="fedi-tab<%= (_a === 'connect' || _a === 'following' || _a === 'followers') ? ' is-active' : '' %>" 11 12 hx-get="/connect?partial=1" hx-target="#pcms-main" hx-swap="innerHTML" hx-push-url="/connect" hx-indicator="#pcms-loading"><%= t('tl.tab_connect') %></a> 12 <a href="/fediverse" class="fedi-tab<%= _a === 'reacties' ? ' is-active' : '' %>" 13 hx-get="/fediverse?partial=1" hx-target="#pcms-main" hx-swap="innerHTML" hx-push-url="/fediverse" hx-indicator="#pcms-loading"><%= t('tl.tab_replies') %></a> 14 <a href="/notifications" class="fedi-tab<%= _a === 'meldingen' ? ' is-active' : '' %>" 15 hx-get="/notifications?partial=1" hx-target="#pcms-main" hx-swap="innerHTML" hx-push-url="/notifications" hx-indicator="#pcms-loading"><span class="fedi-tab-label"><%= t('notif.title') %></span><% if (_nu > 0) { %><span class="fedi-tab-badge"><%= _nu > 9 ? '9+' : _nu %></span><% } %></a> 13 <a href="/messages" class="fedi-tab<%= (_a === 'berichten' || _a === 'reacties' || _a === 'meldingen') ? ' is-active' : '' %>" 14 hx-get="/messages?partial=1" hx-target="#pcms-main" hx-swap="innerHTML" hx-push-url="/messages" hx-indicator="#pcms-loading"><span class="fedi-tab-label"><%= t('msg.tab') %></span><% if (_nu > 0) { %><span class="fedi-tab-badge"><%= _nu > 9 ? '9+' : _nu %></span><% } %></a> 16 15 <a href="/blocking" class="fedi-tab<%= _a === 'blokkeren' ? ' is-active' : '' %>" 17 16 hx-get="/blocking?partial=1" hx-target="#pcms-main" hx-swap="innerHTML" hx-push-url="/blocking" hx-indicator="#pcms-loading"><%= t('blk.title') %></a>
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)