Project

General

Profile

« Previous | Next » 

Revision 8c618ae8

Added by Greg Sutcliffe over 10 years ago

Fixes #3569, #3210 - Use port from foreman_url for templates

View differences:

app/views/host_mailer/_link_to_host.html.erb
<td style="border: 1px solid #FF9933;
border-collapse: collapse;
padding: 4px;
background-color: #FFFFFF;"><%= link_to host, host_path(:id => host, :host => @url, :only_path => false, :protocol => SETTINGS[:require_ssl] ? "https://" : "http://") %>
background-color: #FFFFFF;"><%= link_to host, host_path(:id => host, :host => @url.host, :port => @url.port, :only_path => false, :protocol => @url.scheme) %>
</td>

Also available in: Unified diff