Project

General

Profile

« Previous | Next » 

Revision f48f683d

Added by Dominic Cleal over 8 years ago

refs #11029 - improve string for i18n, fix non-host case

The full title string has been extracted for better localisation,
instead of appending hardcoded strings. The title when viewing all
facts without a host is restored to the previous string.

View differences:

app/views/fact_values/index.html.erb
<% title(_("Fact Values") + " | #{params[:host_id]}")%>
<%
if params[:host_id].present?
title(_("Fact Values | %{host_name}") % {:host_name => params[:host_id]})
else
title(_("Fact Values"))
end
%>
<% title_actions documentation_button('3.5.5FactsandtheENC') %>
<table class="<%= table_css_classes('ellipsis')%>">

Also available in: Unified diff