Created
September 4, 2013 15:25
-
-
Save domcleal/6438576 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment