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/architectures/index.html.erb
<tbody>
<% for architecture in @architectures %>
<tr>
<td class='col-md-3'><%= link_to_if_authorized(trunc(architecture.name),
<td class='col-md-3 display-two-pane'><%= link_to_if_authorized(trunc(architecture.name),
hash_for_edit_architecture_path(:id => architecture).merge(:auth_object => architecture, :authorizer => authorizer)) %></td>
<td><%=h architecture.operatingsystems.map(&:to_label).to_sentence %></td>
<td><%= link_to architecture.hosts_count, hosts_path(:search => "architecture = #{architecture}") %>

Also available in: Unified diff