From 616a0d2d2ba15a7e176938ee829d60366fb6a9c2 Mon Sep 17 00:00:00 2001 From: erdgeist Date: Sun, 9 Aug 2026 13:26:23 +0200 Subject: Attach an asset to a page from the asset's own page The picker moves from assets/edit to assets/show, where the list of attached pages already is. A member route, POST assets/:id/attach_to_node, replaces the ride on #update. Supersedes the picker wiring in the previous commit; what remains of it is @attach_node in #create, the flash composition and the corrected hint. --- config/locales/en.yml | 2 ++ 1 file changed, 2 insertions(+) (limited to 'config/locales/en.yml') diff --git a/config/locales/en.yml b/config/locales/en.yml index 8da079dc..f8f586b9 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -627,6 +627,7 @@ en: already_attached: "It was already attached to “%{title}”." attached_to_draft: "Attached to the draft of %{title}. Publish it to make the change live." attached_new_draft: "Created a draft of %{title} with this attachment. Publish it to make the change live." + attach_no_node: "No page was chosen, so nothing was attached." events: created: "Event was successfully created." updated: "Event was successfully updated." @@ -670,6 +671,7 @@ en: attached_to: "Attached to" pending_only: "pending versions only" not_attached: "— not attached to any page —" + attach_button: "Attach" new_page_with_attachment: "New page with this attachment" public_path: "Public Path" copy_url: "Copy URL" -- cgit v1.3