Project

General

Profile

« Previous | Next » 

Revision 1ef8f52b

Added by Ondřej Pražák about 8 years ago

Fixes #14395 - Label for provision template capitalized in os details page

s

View differences:

app/views/hosts/show.html.erb
<ul id="myTab" class="nav nav-tabs">
<li class="active"><a href="#properties" data-toggle="tab"><%= _('Properties') %></a></li>
<li><a href="#metrics" data-toggle="tab"><%= _('Metrics') %></a></li>
<% if SETTINGS[:unattended] %>
<% if SETTINGS[:unattended] && @host.managed? %>
<li><a href="#template" data-toggle="tab"><%= _('Templates') %></a></li>
<% end %>
<% if @host.compute_resource_id %>
......
<%= render :partial => "hosts/metrics", :locals => { :report_summary => @report_summary[@host.name][:metrics] } %>
<% end %>
</div>
<div class="tab-pane" id="template" data-ajax-url='<%= templates_host_path(@host)%>'>
<%= spinner(_('Loading template information ...')) %>
</div>
<% if SETTINGS[:unattended] && @host.managed? %>
<div class="tab-pane" id="template" data-ajax-url='<%= templates_host_path(@host)%>'>
<%= spinner(_('Loading template information ...')) %>
</div>
<% end %>
<% if @host.compute_resource_id %>
<div class="tab-pane" id="vm" data-ajax-url='<%= vm_host_path(@host)%>' data-on-complete='setPowerState'>
<%= spinner(_('Loading VM information ...')) %>

Also available in: Unified diff