blob: 3c222325c1e9f568d028bc9cdd350870ccb92666 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#tab_content = "<div id='params' class='tab-pane' data-ajax-url='<%= nics_host_path(@host)%>' data-on-complete='onContentLoad'>
# <%= spinner(_('Loading Parameters information ...')) %>
#</div>"
tab_content = "<div id='params' class='tab-pane' data-ajax-url='<%= parameters_host_path(@host)%>' data-on-complete='onContentLoad'>
<%= spinner(_('Loading Parameters information ...')) %>
</div>"
Deface::Override.new(:virtual_path => 'hosts/show',
:name => 'add_host_params_tab',
:insert_bottom => 'ul',
:text => "<li><a href='#params' data-toggle='tab'>Params</a></li>")
Deface::Override.new(:virtual_path => 'hosts/show',
:name => 'add_host_params_tab_content',
:insert_bottom => 'div#myTabContent',
:text => tab_content)
|