foreman_hosts 1.0.2 → 1.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -9,25 +9,12 @@
9
9
  <tr>
10
10
  <th class="ca"><%= check_box_tag "check_all", "", false, { :onclick => "toggleCheck()", :'check-title' => _("Select all items in this page"), :'uncheck-title'=> _("items selected. Uncheck to Clear") } %></th>
11
11
  <th class=''><%= sort :name, :as => _('Name') %></th>
12
- <% @fact_names.each do |fact_name| %>
13
- <th><%= fact_name.name %></th>
14
- <% end %>
12
+ <th><%= @fact_names %></th>
13
+
15
14
 
16
15
  </tr>
17
16
  </thead>
18
- <tbody>
19
- <% @hosts.each do |host| %>
20
- <tr>
21
- <td class="ca">
22
- <%= check_box_tag "host_ids[]", nil, false, :id => "host_ids_#{host.id}", :disabled => !authorized?, :class => 'host_select_boxes', :onclick => 'hostChecked(this)' %>
23
- </td>
24
- <td class='ellipsis'><%= name_column(host) %></td>
25
- <% @fact_names.each do |fact_name| %>
26
- <td><%= get_fact_value(host, fact_name) %> </td>
27
- <% end %>
28
- </tr>
29
- <% end %>
30
- </tbody>
17
+
31
18
  </table>
32
19
 
33
20
 
@@ -1,3 +1,3 @@
1
1
  module ForemanHosts
2
- VERSION = '1.0.2'
2
+ VERSION = '1.0.3'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: foreman_hosts
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: