Sha256: 3394f55e7fabb9530edb8607a1580ca8df9ad3818f0739f13a38023af995928a

Contents?: true

Size: 574 Bytes

Versions: 5

Compression:

Stored size: 574 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'), discovers_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

5 entries across 5 versions & 1 rubygems

Version Path
foreman_discovery-1.3.0.rc2 app/overrides/add_dashboard_table.rb
foreman_discovery-1.3.0.rc1 app/overrides/add_dashboard_table.rb
foreman_discovery-1.2.0 app/overrides/add_dashboard_table.rb
foreman_discovery-1.2.0.rc2 app/overrides/add_dashboard_table.rb
foreman_discovery-1.2.0.rc1 app/overrides/add_dashboard_table.rb