Revision f0582067
Added by Amir Fefer almost 9 years ago
app/views/puppetclasses/_class_parameters.html.erb | ||
---|---|---|
<%= content_tag :td, (i == 0 ? {:rowspan => lookup_keys.size} : {:class => 'hide'}) do
|
||
# In order to use the class .hide-first-col, we must have an extra, invisible cell.
|
||
# Plus, we make the class name available from javascript without having to look at any previous row.
|
||
content_tag :span, puppetclass.name, :'data-property' => 'class'
|
||
content_tag :span, trunc_with_tooltip(puppetclass.name), :'data-property' => 'class'
|
||
end %>
|
||
<td>
|
||
<%= content_tag :span, key.key, :class => "#{"override-param" if key.overridden?(obj)}", :'data-property' => 'name' %></td>
|
||
<%= content_tag :span, trunc_with_tooltip(key.key), :class => "#{"override-param" if key.overridden?(obj)}", :'data-property' => 'name' %></td>
|
||
<td><%= obj.class.model_name == "Host" ? host_key_with_diagnostic(obj, value_hash, key) : hostgroup_key_with_diagnostic(obj, key)%></td>
|
||
<td>
|
||
<%= link_to_function(_("override"), "override_class_param(this)", :title => _("Override this value"),
|
Also available in: Unified diff
Fixes #11371,#4410 - puppet parameters truncated and tooltip added