Project

General

Profile

« Previous | Next » 

Revision 40279862

Added by Ori Rabin over 9 years ago

Fixes #8830 - Allow two-pane to work on show

View differences:

app/views/operatingsystems/index.html.erb
<tbody>
<% for operatingsystem in @operatingsystems %>
<tr>
<td><%= link_to_if_authorized(os_name(operatingsystem), hash_for_edit_operatingsystem_path(:id => operatingsystem).merge(:auth_object => operatingsystem, :authorizer => authorizer)) %></td>
<td class="display-two-pane"><%= link_to_if_authorized(os_name(operatingsystem), hash_for_edit_operatingsystem_path(:id => operatingsystem).merge(:auth_object => operatingsystem, :authorizer => authorizer)) %></td>
<td class="ra"><%= link_to operatingsystem.hosts_count, hosts_path(:search => "os_id = #{operatingsystem.id}") %></td>
<td class="ra">
<%= display_delete_if_authorized hash_for_operatingsystem_path(:id => operatingsystem).merge(:auth_object => operatingsystem, :authorizer => authorizer),

Also available in: Unified diff