currently host detail pane labels / data fields are
not matched correctly and nics/bondings/vms shouldn't
appear on multiple lines. fixes this.
---
src/app/views/host/show.rhtml | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/app/views/host/show.rhtml b/src/app/views/host/show.rhtml
index ddc6481..49ac4c1 100644
--- a/src/app/views/host/show.rhtml
+++ b/src/app/views/host/show.rhtml
@@ -62,13 +62,13 @@
<%=h @host.arch %><br/>
<%=h @host.hypervisor_type %><br/>
<%=h @host.status_str %><br/>
+ <%= @host.vms.collect{|x| x.uuid }.join(" ") %><br/>
<%= @host.nics.collect{ |n|
n.interface_name.to_s + " " + n.mac +
(n.network.nil? ? "" : " " + n.network.name)
- }.join("<br/>")
+ }.join(" ")
%><br/>
- <%= @host.bondings.collect { |n| n.name }.join("<br/>") %><br/>
- <%= @host.vms.collect{|x| x.uuid }.join(" <br/> ") %><br/>
+ <%= @host.bondings.collect { |n| n.name }.join(" ") %><br/>
<!-- FIXME: need styling
<h3>Network Interfaces</h3>
--
1.6.0.6
_______________________________________________
Ovirt-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/ovirt-devel