We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9e20c97 commit 6ec976fCopy full SHA for 6ec976f
1 file changed
app/views/print_hosts/index.rb
@@ -10,13 +10,15 @@ def view_template
10
p { t("views.print_hosts.index.description") }
11
table class: "table table-striped" do
12
tr do
13
+ th
14
th { PrintHost.human_attribute_name :name }
15
th { PrintHost.human_attribute_name :endpoint }
16
th { PrintHost.human_attribute_name :protocol }
17
th
18
end
19
@print_hosts.each do |print_host|
20
21
+ td { print_host.service.ok? ? "✅" : "❌" }
22
td { print_host.name }
23
td { code { print_host.endpoint } }
24
td { translate("print_hosts.protocols.%{protocol}" % {protocol: print_host.protocol}) }
0 commit comments