views/_service_info.erb in runit-man-1.4.5 vs views/_service_info.erb in runit-man-1.4.6
- old
+ new
@@ -19,10 +19,10 @@
<% end %>
<% end %>
</td>
<td>
<% if service_info.logged? %>
- <a title="<%= h(t.runit.services.table.values.log_hint(service_info.name)) %>" target="_blank" rel="nofollow" href="/<%= h(service_info.name) %>/log#footer"><%= h(service_info.log_file_location) %></a>
+ <%= log_link(service_info.name, :hint => t.runit.services.table.values.log_hint(service_info.name), :blank => true, :title => service_info.log_file_location) %>
<% else %>
<%= t.runit.services.table.values.log_absent %>
<% end %>
</td>
</tr>