Mohammed Morsi
2009-Sep-22 16:31 UTC
[Ovirt-devel] [PATCH server] small formatting fix to host details pane
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
Seemingly Similar Threads
- [PATCH server] permit many-to-many vms / networks relationship
- [PATCH server] new host networking wui
- [PATCH] Fix bad declaration in host-register
- [PATCH server] fixed functional tests after recent controller refactoring and managed node controller fixes.
- [PATCH server] changed vm details pane vnc uri, removed 'Remote Desktop' virt-viewer-plugin link