Project

General

Profile

« Previous | Next » 

Revision d9056afe

Added by Greg Sutcliffe over 10 years ago

Fixes #4014 - Correctly use to_label when showing OSs

View differences:

app/views/ptables/index.html.erb
<tr>
<td><%= link_to_if_authorized ptable, hash_for_edit_ptable_path(:id => ptable.id) %></td>
<td><%= lookup_family(ptable.os_family) %></td>
<td><%= ptable.operatingsystems.to_sentence %></td>
<td><%= ptable.operatingsystems.map(&:to_label).to_sentence %></td>
<td>
<%= display_delete_if_authorized hash_for_ptable_path(:id => ptable), :confirm => _("Delete %s?") % ptable.name%>
</td>

Also available in: Unified diff