Skip to content

Commit

Permalink
Fix page status icon
Browse files Browse the repository at this point in the history
We want to show that a page is online in page edit mode.
It would be confusing otherwise.
  • Loading branch information
tvdeyen committed Jan 24, 2024
1 parent 0123509 commit 8411659
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/views/alchemy/admin/pages/_page_status.html.erb
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<span class="page_status">
<% if page.public? %>
<%= render_icon(:cloud, size: "1x", class: "disabled") %>
<%= render_icon(:cloud, size: "1x") %>
<% else %>
<%= render_icon("cloud-off", size: "1x") %>
<%= render_icon("cloud-off", size: "1x", class: "disabled") %>
<% end %>
</span>
<span class="page_status">
Expand Down

0 comments on commit 8411659

Please sign in to comment.