Changeset 814ad8b in Klonkt
- Timestamp:
- 06/22/2026 03:38:58 AM (3 months ago)
- Branches:
- main
- Children:
- 1ce1ffe
- Parents:
- b20460e
- Location:
- src
- Files:
-
- 3 edited
-
services/CircleService.js (modified) (1 diff)
-
services/i18n.js (modified) (3 diffs)
-
views/pages/admin-circle.ejs (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
src/services/CircleService.js
rb20460e r814ad8b 194 194 } 195 195 196 // Naam automatisch overnemen van de remote actor (geen handmatige invoer nodig). 197 // COALESCE: heeft de actor geen naam, dan blijft een evt. bestaand label staan. 196 198 db.prepare( 197 "UPDATE circle_links SET remote_actor_id=?, la st_synced=CURRENT_TIMESTAMP, status='active', last_error=NULL WHERE id=?"198 ).run(actorId, link.id);199 "UPDATE circle_links SET remote_actor_id=?, label=COALESCE(?, label), last_synced=CURRENT_TIMESTAMP, status='active', last_error=NULL WHERE id=?" 200 ).run(actorId, actor.name || null, link.id); 199 201 200 202 return { ok: true, actorId, items: seen.size, pruned: stale.length }; -
src/services/i18n.js
rb20460e r814ad8b 544 544 'acir.label': 'Label', 545 545 'acir.optional': 'optioneel', 546 'acir.name_auto': 'De naam wordt automatisch van de site overgenomen — alleen de URL is nodig.', 546 547 'acir.label_ph': 'bijv. Joost Klein', 547 548 'acir.add': 'Toevoegen', … … 1524 1525 'acir.label': 'Label', 1525 1526 'acir.optional': 'optional', 1527 'acir.name_auto': 'The name is taken automatically from the site — only the URL is needed.', 1526 1528 'acir.label_ph': 'e.g. Joost Klein', 1527 1529 'acir.add': 'Add', … … 2503 2505 'acir.label': 'Bezeichnung', 2504 2506 'acir.optional': 'optional', 2507 'acir.name_auto': 'Der Name wird automatisch von der Seite übernommen — nur die URL ist nötig.', 2505 2508 'acir.label_ph': 'z. B. Joost Klein', 2506 2509 'acir.add': 'Hinzufügen', -
src/views/pages/admin-circle.ejs
rb20460e r814ad8b 35 35 <input type="text" name="remote_url" inputmode="url" autocapitalize="off" autocorrect="off" spellcheck="false" placeholder="artiest.klonkt.com" required> 36 36 </label> 37 <label class="set-field"> 38 <span><%= t('acir.label') %> <small style="font-weight:400">— <%= t('acir.optional') %></small></span> 39 <input type="text" name="label" maxlength="80" placeholder="<%= t('acir.label_ph') %>"> 40 </label> 37 <p class="set-help" style="margin:.2rem 0 .6rem"><%= t('acir.name_auto') %></p> 41 38 <button type="submit" class="btn btn-primary"><%= t('acir.add') %></button> 42 39 </form>
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)