diff options
| author | erdgeist <erdgeist@erdgeist.org> | 2026-08-06 05:17:27 +0200 |
|---|---|---|
| committer | erdgeist <erdgeist@erdgeist.org> | 2026-08-06 05:17:27 +0200 |
| commit | e19787c6ca542736db40e042554f5c0103531821 (patch) | |
| tree | 8f1642d670d77c587194d6927f6fb5dfe1da96b9 /app/views/nodes/show.html.erb | |
| parent | cb16e35c5f9fc93a3382391de496153515cf05ca (diff) | |
Rebuild the sitemap rows around the shared title and action patterns
Diffstat (limited to 'app/views/nodes/show.html.erb')
| -rw-r--r-- | app/views/nodes/show.html.erb | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/app/views/nodes/show.html.erb b/app/views/nodes/show.html.erb index a94e001c..105e37ea 100644 --- a/app/views/nodes/show.html.erb +++ b/app/views/nodes/show.html.erb | |||
| @@ -231,7 +231,7 @@ | |||
| 231 | <% end %> | 231 | <% end %> |
| 232 | </div> | 232 | </div> |
| 233 | 233 | ||
| 234 | <% if @node.head %> | 234 | <% if @node.head && !@node.root? %> |
| 235 | <div class="link_matrix_row"> | 235 | <div class="link_matrix_row"> |
| 236 | <span class="link_matrix_label"> | 236 | <span class="link_matrix_label"> |
| 237 | <span class="info_label"><%= t(".public") %></span> | 237 | <span class="info_label"><%= t(".public") %></span> |
| @@ -251,6 +251,15 @@ | |||
| 251 | </div> | 251 | </div> |
| 252 | <% end %> | 252 | <% end %> |
| 253 | 253 | ||
| 254 | <% if @node.root? %> | ||
| 255 | <div class="link_matrix_row"> | ||
| 256 | <span class="link_matrix_label"> | ||
| 257 | <span class="info_label"><%= t(".public") %></span> | ||
| 258 | <span class="field_hint"><%= t(".root_has_no_public_url") %></span> | ||
| 259 | </span> | ||
| 260 | </div> | ||
| 261 | <% end %> | ||
| 262 | |||
| 254 | <% if @node.draft %> | 263 | <% if @node.draft %> |
| 255 | <div class="link_matrix_row"> | 264 | <div class="link_matrix_row"> |
| 256 | <span class="link_matrix_label"> | 265 | <span class="link_matrix_label"> |
