Changeset 297c77d in Klonkt for src/views/pages/blocks.ejs


Ignore:
Timestamp:
06/26/2026 02:14:00 PM (2 months ago)
Author:
Robin Genis <roboburr@…>
Branches:
main
Children:
c27c945
Parents:
1ecbf71
Message:

refactor(fedi): English URL paths + equal-width tabs + back-to-site in top nav

  • Renamed all fediverse routes to English: /tijdlijn->/timeline, /volgend->/following, /meldingen->/notifications, /blokkeren->/blocking (+ all sub-routes, form actions, redirects, links, RESERVED_SLUGS). UI labels stay i18n.
  • fedi-tabs: all 5 tabs share the content width equally (flex:1) and always fit (ellipsis) instead of varying widths.
  • Moved 'back to site' from a big in-content button into the top nav (like admin pages), via on-special; removed the in-content button. Archive link hidden on fedi pages too.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/views/pages/blocks.ejs

    r1ecbf71 r297c77d  
    66  <% if (typeof error !== 'undefined' && error) { %><div class="alert alert-error"><%= error %></div><% } %>
    77
    8   <form method="post" action="/blokkeren/add" class="bl-form">
     8  <form method="post" action="/blocking/add" class="bl-form">
    99    <input type="text" name="target" placeholder="@naam@server.social  •  server.social" autocomplete="off" spellcheck="false" required>
    1010    <button type="submit" class="btn btn-primary"><%= t('blk.block_btn') %></button>
     
    1919          <span class="bl-kind"><%= b.kind === 'domain' ? '🌐' : '👤' %></span>
    2020          <span class="bl-label"><%= b.label || b.target %></span>
    21           <form method="post" action="/blokkeren/remove"><input type="hidden" name="target" value="<%= b.target %>"><button type="submit" class="bl-unblock"><%= t('blk.unblock') %></button></form>
     21          <form method="post" action="/blocking/remove"><input type="hidden" name="target" value="<%= b.target %>"><button type="submit" class="bl-unblock"><%= t('blk.unblock') %></button></form>
    2222        </li>
    2323      <% }); %>
Note: See TracChangeset for help on using the changeset viewer.