From 278819cad2d2199029cc11124c95b0155f83f821 Mon Sep 17 00:00:00 2001 From: erdgeist Date: Fri, 7 Aug 2026 20:22:37 +0200 Subject: Show a pending address in the cockpit, the diff and the publish confirm --- app/views/revisions/diff.html.erb | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'app/views/revisions/diff.html.erb') diff --git a/app/views/revisions/diff.html.erb b/app/views/revisions/diff.html.erb index 5c881f24..0fd9ccb9 100644 --- a/app/views/revisions/diff.html.erb +++ b/app/views/revisions/diff.html.erb @@ -115,6 +115,16 @@ <%= raw @diff[:body] %> <% end %> +

<%= t(".address") %>

+ <% if @diff[:address][:changed] %> +

+ <%= @diff[:address][:from] || t(".none_marker") %> + <%= @diff[:address][:to] || t(".none_marker") %> +

+ <% else %> +

<%= t(".no_change") %>

+ <% end %> +

<%= Page.human_attribute_name(:tag_list) %>

<% if @diff[:tags][:added].empty? && @diff[:tags][:removed].empty? %>

<%= t(".no_change") %>

-- cgit v1.3