Skip to content

Commit

Permalink
Merge pull request #328 from epwinchell/stack_details_styling
Browse files Browse the repository at this point in the history
Fix Stack Template Details screen styling
  • Loading branch information
Dan Clarizio authored Feb 13, 2017
2 parents f2db44f + 79fd704 commit c8f2e07
Showing 1 changed file with 16 additions and 15 deletions.
31 changes: 16 additions & 15 deletions app/views/shared/summary/_textual.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -5,20 +5,21 @@
%tr
%th{:colspan => "2", :align => "left"}
= title
- items.each do |item|
- if @explorer && item[:explorer]
- if item[:spinner]
- click = remote_function(:url => item[:link], :loading => "miqSparkle(true);")
%tbody
- items.each do |item|
- if @explorer && item[:explorer]
- if item[:spinner]
- click = remote_function(:url => item[:link], :loading => "miqSparkle(true);")
- else
- click = remote_function(:url => item[:link])
- else
- click = remote_function(:url => item[:link])
- else
- click = "DoNav('#{item[:link]}');"
- click = "DoNav('#{item[:link]}');"

%tr{:class => no_hover_class(item),
:title => item[:title] ? item[:title] : "",
:onclick => item[:link] ? click : ""}
%td.label
= item[:label]
%td
= render :partial => "shared/summary/icon_or_image", :locals => {:item => item}
= !item[:value].kind_of?(Array) ? item[:value] : render(:partial => "shared/summary/textual_multivalue", :locals => {:items => item[:value]})
%tr{:class => no_hover_class(item),
:title => item[:title] ? item[:title] : "",
:onclick => item[:link] ? click : ""}
%td.label
= item[:label]
%td
= render :partial => "shared/summary/icon_or_image", :locals => {:item => item}
= !item[:value].kind_of?(Array) ? item[:value] : render(:partial => "shared/summary/textual_multivalue", :locals => {:items => item[:value]})

0 comments on commit c8f2e07

Please sign in to comment.