views/_service_info.erb in runit-man-1.7.4 vs views/_service_info.erb in runit-man-1.8.0
- old
+ new
@@ -9,10 +9,13 @@
<td>
<% if service_info.active? %>
<% unless service_info.down? %>
<%= service_action service_info.name, :restart, t.runit.services.table.actions.restart %>
<%= service_action service_info.name, :down, t.runit.services.table.actions.stop %>
+ <% service_info.allowed_signals.each do |signal| %>
+ <%= service_signal service_info.name, signal, t.runit.services.table.signals[signal] %>
+ <% end %>
<% else %>
<%= service_action service_info.name, :up, t.runit.services.table.actions.start %>
<% end %>
<% if service_info.switchable? %>
<%= service_action service_info.name, :switch_down, t.runit.services.table.actions.switch_down %>
@@ -29,10 +32,10 @@
<% else %>
<%= t.runit.services.table.values.log_absent %>
<% end %>
</td>
</tr>
-<% if need_second_row %><tr><td colspan="4">
+<% if need_second_row %><tr><td colspan="5">
<% unless service_info.files_to_view.empty? %>
<%= h(t.runit.services.table.values.files_to_view) %>:
<% service_info.files_to_view.each do |f| %>
<a href="/view?file=<%= h(f) %>"><%= h(f) %></a>
<% end %>