[PostVersions] Fix the misaligned dividers in the subnav (#895)

This commit is contained in:
Cinder 2025-02-06 21:34:55 -08:00 committed by GitHub
parent 07020a6295
commit c08fd15a4a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -4,10 +4,12 @@
<%= subnav_link_to "Changes", post_versions_path %> <%= subnav_link_to "Changes", post_versions_path %>
<%= subnav_link_to "Help", help_page_path(id: "posts") %> <%= subnav_link_to "Help", help_page_path(id: "posts") %>
<% if params[:action] == "index" && CurrentUser.is_privileged? %> <% if params[:action] == "index" && CurrentUser.is_privileged? %>
| <%= subnav_link_to "Undo selected", "" %> <li class="divider"></li>
<%= subnav_link_to "Undo selected", "" %>
<%= subnav_link_to "Select All", "" %> <%= subnav_link_to "Select All", "" %>
<% if CurrentUser.is_moderator? %> <% if CurrentUser.is_moderator? %>
| <%= subnav_link_to "Apply Tag Script To Selected", "" %> <li class="divider"></li>
<%= subnav_link_to "Apply Tag Script To Selected", "" %>
<% end %> <% end %>
<% end %> <% end %>
<% end %> <% end %>