summaryrefslogtreecommitdiff
path: root/app/views/revisions/diff.html.erb
diff options
context:
space:
mode:
authorerdgeist <erdgeist@erdgeist.org>2026-08-07 20:22:37 +0200
committererdgeist <erdgeist@erdgeist.org>2026-08-07 20:22:37 +0200
commit278819cad2d2199029cc11124c95b0155f83f821 (patch)
treec98cada36cbec18a5e0c2bc1e17ef3370a9adbe8 /app/views/revisions/diff.html.erb
parente7b12a7e50e6bdb64ccaa1180d606465485a8439 (diff)
Show a pending address in the cockpit, the diff and the publish confirm
Diffstat (limited to 'app/views/revisions/diff.html.erb')
-rw-r--r--app/views/revisions/diff.html.erb10
1 files changed, 10 insertions, 0 deletions
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 @@
115 <%= raw @diff[:body] %> 115 <%= raw @diff[:body] %>
116 <% end %> 116 <% end %>
117 117
118 <h3><%= t(".address") %></h3>
119 <% if @diff[:address][:changed] %>
120 <p>
121 <del><%= @diff[:address][:from] || t(".none_marker") %></del>
122 <ins><%= @diff[:address][:to] || t(".none_marker") %></ins>
123 </p>
124 <% else %>
125 <p class="diff_unchanged"><%= t(".no_change") %></p>
126 <% end %>
127
118 <h3><%= Page.human_attribute_name(:tag_list) %></h3> 128 <h3><%= Page.human_attribute_name(:tag_list) %></h3>
119 <% if @diff[:tags][:added].empty? && @diff[:tags][:removed].empty? %> 129 <% if @diff[:tags][:added].empty? && @diff[:tags][:removed].empty? %>
120 <p class="diff_unchanged"><%= t(".no_change") %></p> 130 <p class="diff_unchanged"><%= t(".no_change") %></p>