Changeset 2c246d4 in Klonkt for src/views/pages


Ignore:
Timestamp:
06/16/2026 07:04:18 AM (3 months ago)
Author:
roboburr <roboburr@…>
Branches:
main
Children:
544cd86
Parents:
8aa85d0
Message:

Appearance: remove dead profile_name/bio write + Prutter toggle only in Hub

(1) The save handler wrote profile_name/profile_bio which are not in the
form → every save set them to null (could wipe the federation actor name).
Removed from the UPDATE; they remain fallback-driven (title/description).
(2) Prutter toggle is now Hub-only + premium, so only show it in Hub mode
instead of on every (including solo) site where it 404s anyway.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@…>

File:
1 edited

Legend:

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

    r8aa85d0 r2c246d4  
    145145        <span>Enable audio player + embeds</span>
    146146      </label>
     147      <%# Prutter is een Hub-only premium-functie — toggle alleen tonen in Hub-modus. %>
     148      <% if (typeof tenancy !== 'undefined' && tenancy === 'hub') { %>
    147149      <label class="cb">
    148150        <input type="checkbox" name="enable_prutter" value="1" <%= site.enable_prutter ? 'checked' : '' %>>
    149         <span>Enable Prutter (direct messaging)</span>
    150       </label>
     151        <span>Prutter (DM&rsquo;s tussen leden) inschakelen <small class="form-hint-inline">— Hub-functie, premium</small></span>
     152      </label>
     153      <% } %>
    151154    </fieldset>
    152155
Note: See TracChangeset for help on using the changeset viewer.