From: Jiri Tomasek <jtomasek(a)redhat.com>
---
src/app/stylesheets/layout.scss | 1 +
src/app/views/deployables/show.html.haml | 43 ++++++++++++++---------------
2 files changed, 22 insertions(+), 22 deletions(-)
diff --git a/src/app/stylesheets/layout.scss b/src/app/stylesheets/layout.scss
index bf6d5de..8588e2b 100644
--- a/src/app/stylesheets/layout.scss
+++ b/src/app/stylesheets/layout.scss
@@ -2578,6 +2578,7 @@ table.light_table{
th.status{ border-bottom: none; text-align: right; }
td.status{ text-align: right; }
td.status a{
+ white-space: nowrap;
text-transform: uppercase;
text-decoration: none;
font-size: 10px;
diff --git a/src/app/views/deployables/show.html.haml
b/src/app/views/deployables/show.html.haml
index 2c88513..40cc6d6 100644
--- a/src/app/views/deployables/show.html.haml
+++ b/src/app/views/deployables/show.html.haml
@@ -17,29 +17,28 @@
%header
%h2.images= t('.images')
.content
- .centered
- %table.light_table
- %thead
+ %table.light_table
+ %thead
+ %tr
+ %th.status
+ %th
+ %strong=t'.name'
+ %th.align-center=t'.images'
+ %th=t'.hw_profile'
+ %th.align-center=t'.hdd'
+ %th.align-center=t'.ram'
+ %th.align-center=t'.arch'
+ %tbody
+ - @images_details.each do |assembly|
%tr
- %th.status
- %th
- %strong=t'.name'
- %th.align-center=t'.images'
- %th=t'.hw_profile'
- %th.align-center=t'.hdd'
- %th.align-center=t'.ram'
- %th.align-center=t'.arch'
- %tbody
- - @images_details.each do |assembly|
- %tr
- %td.status= image_valid?(assembly)
- %td
- %strong=assembly[:name]
- %td.align-center=assembly[:images_count]
- %td=assembly[:hwp_name]
- %td.align-center=assembly[:hwp_hdd]
- %td.align-center=assembly[:hwp_ram]
- %td.align-center=assembly[:hwp_arch]
+ %td.status= image_valid?(assembly)
+ %td
+ %strong=assembly[:name]
+ %td.align-center=assembly[:images_count]
+ %td=assembly[:hwp_name]
+ %td.align-center=assembly[:hwp_hdd]
+ %td.align-center=assembly[:hwp_ram]
+ %td.align-center=assembly[:hwp_arch]
%section.admin-content-section
- if @missing_images.empty?
--
1.7.7.6