Changeset eefd302 in Klonkt for src/views/pages/following.ejs


Ignore:
Timestamp:
06/26/2026 05:04:49 PM (2 months ago)
Author:
Robin Genis <roboburr@…>
Branches:
main
Children:
cf4cf27
Parents:
69e7a79
Message:

feat(fedi): rename feed Newspaper -> News (/newspaper -> /news)

EN label + route shortened to 'News' / '/news' (+ sub-routes, links, form actions,
render path, view newspaper.ejs->news.ejs, RESERVED_SLUGS, pageTitle). NL 'Krant' and
DE 'Zeitung' unchanged.

File:
1 edited

Legend:

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

    r69e7a79 reefd302  
    99  </div>
    1010
    11   <form method="post" action="/newspaper/follow" class="tl-follow">
     11  <form method="post" action="/news/follow" class="tl-follow">
    1212    <input type="text" name="handle" placeholder="@naam@server.social of site.com" autocomplete="off" spellcheck="false" required>
    1313    <button type="submit" class="btn btn-primary"><%= t('tl.follow_btn') %></button>
     
    2626            <% if (f.status === 'pending') { %><span class="tl-pending"><%= t('tl.pending') %></span><% } %>
    2727          </span>
    28           <form method="post" action="/newspaper/autoboost" class="tl-foll-ab" title="<%= t('tl.autoboost_hint') %>">
     28          <form method="post" action="/news/autoboost" class="tl-foll-ab" title="<%= t('tl.autoboost_hint') %>">
    2929            <input type="hidden" name="actor_uri" value="<%= f.actor_uri %>">
    3030            <label><input type="checkbox" name="auto_boost" value="1" <%= f.auto_boost ? 'checked' : '' %> onchange="this.form.submit()"> ✨ <%= t('tl.autoboost') %></label>
    3131          </form>
    32           <form method="post" action="/newspaper/unfollow"><input type="hidden" name="actor_uri" value="<%= f.actor_uri %>"><button type="submit" class="tl-unfollow"><%= t('tl.unfollow') %></button></form>
     32          <form method="post" action="/news/unfollow"><input type="hidden" name="actor_uri" value="<%= f.actor_uri %>"><button type="submit" class="tl-unfollow"><%= t('tl.unfollow') %></button></form>
    3333        </li>
    3434      <% }); %>
Note: See TracChangeset for help on using the changeset viewer.