Project

General

Profile

« Previous | Next » 

Revision 18d5a8ce

Added by Marek Hulán over 7 years ago

Fixes #18025 - make user groups sortable

View differences:

app/views/auth_source_ldaps/index.html.erb
<table class="<%= table_css_classes("table-two-pane table-hover") %>">
<thead>
<tr>
<th><%= s_("AuthSource|Name") %></th>
<th><%= sort :name, :as => s_("AuthSource|Name") %></th>
<th><%= s_("AuthSource|Host") %></th>
<th><%= s_("AuthSource|Onthefly register") %></th>
<th><%= s_("AuthSource|LDAPS") %></th>
app/views/bookmarks/index.html.erb
<table class="<%= table_css_classes("table-two-pane table-hover") %>">
<thead>
<tr>
<th><%= s_("Bookmark|Name") %></th>
<th><%= sort :name, :as => s_("Bookmark|Name") %></th>
<th><%= s_("Bookmark|Query") %></th>
<th><%= s_("Bookmark|Controller") %></th>
<th><%= sort :controller, :as => s_("Bookmark|Controller") %></th>
<th><%= s_("Bookmark|Public") %></th>
<th><%= _('Actions') %></th>
</tr>
app/views/smart_proxies/index.html.erb
<table class="<%= table_css_classes 'table-two-pane table-fixed' %>">
<thead>
<tr>
<th class="col-md-2"><%= s_("SmartProxy|Name") %></th>
<th class="col-md-2"><%= sort :name, :as => s_("SmartProxy|Name") %></th>
<% unless SETTINGS[:locations_enabled] && SETTINGS[:organizations_enabled] %>
<th class="hidden-sm hidden-xs nbsp"><%= s_("SmartProxy|Url") %></th>
<% end %>
app/views/usergroups/index.html.erb
<table class="<%= table_css_classes 'table-two-pane table-fixed' %>">
<thead>
<tr>
<th class="col-md-4"><%= s_("Usergroup|Name") %></th>
<th class="col-md-4"><%= sort :name, :as => s_("Usergroup|Name") %></th>
<th class="col-md-4"><%= _("Users") %></th>
<th class="col-md-3"><%= _("User Groups") %></th>
<th><%= _('Actions') %></th>

Also available in: Unified diff