Ignore:
Timestamp:
06/14/2026 08:29:39 AM (3 months ago)
Author:
roboburr <roboburr@…>
Branches:
main
Children:
2cc887b
Parents:
07775b7
Message:

admin: one consistent "← Admin" back button on all admin pages

There were 3 variants (.btn "← Admin"/"← Sites", .admin-tagline text link,
.ax-back icon). Now the same everywhere: <a href="/admin" class="btn">← Admin</a>
at the top. Site-edit back link no longer mode-conditional (always Admin).

Co-Authored-By: Claude <noreply@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/views/pages/admin-site-edit.ejs

    r07775b7 r8b014ef  
    11<div class="container admin-site-edit-page">
    2   <% if (typeof tenancy !== 'undefined' && tenancy === 'solo') { %>
    3     <p><a href="/admin" class="btn">&larr; Beheer</a></p>
    4   <% } else { %>
    5     <p><a href="/admin/sites" class="btn">&larr; Sites</a></p>
    6   <% } %>
     2  <p><a href="/admin" class="btn">&larr; Beheer</a></p>
    73  <h1><%= isNew ? 'New site' : 'Uiterlijk: ' + site.title %></h1>
    84
Note: See TracChangeset for help on using the changeset viewer.