Sha256: 33d068582a966255e98d5237663a11d56dae993125771d0f30a87c13e30cbb47

Contents?: true

Size: 581 Bytes

Versions: 2

Compression:

Stored size: 581 Bytes

Contents

Deface::Override.new(:virtual_path => "dashboard/_status_table",
                     :name => "add_dashboard_table",
                     :insert_after => "ul:last",
                   :text => ("
<h4 class='header'><%= _('Host Pool') %></h4>
<ul>
  <li>
    <%= link_to(_('Unassigned hosts'), discovered_hosts_path, :class=>'dashboard-links' ) %>
    <h4><%= Host::Discovered.count %></h4>
  </li>
</ul>"))

# strings used above, for the purposes of extraction only, as they're not
# detected within the full override template string above
N_('Host Pool')
N_('Unassigned hosts')

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
foreman_discovery-1.3.0 app/overrides/add_dashboard_table.rb
foreman_discovery-1.3.0.rc3 app/overrides/add_dashboard_table.rb