Revision c89a8d23
Added by Dominic Cleal about 8 years ago
app/views/hosts/_templates.html.erb | ||
---|---|---|
<tbody>
|
||
<% @templates.each do |tmpl| %>
|
||
<tr>
|
||
<td><%= _(tmpl.template_kind) %></td>
|
||
<td><%= _(tmpl.template_kind.to_s) %></td>
|
||
<td><%= action_buttons(display_link_if_authorized(_("Edit"),
|
||
hash_for_edit_provisioning_template_path(:id => tmpl.to_param),
|
||
:rel => "external"),
|
Also available in: Unified diff
fixes #14741 - translate template kind string, not object
Also convert translation keys to strings in debug mode to prevent
concatenation errors.