[PATCH aeolus-conductor] BZ#785189 Removed sort urls from hwp table headers

Imre Farkas ifarkas at redhat.com
Wed Feb 1 10:26:13 UTC 2012


On 01/31/2012 05:48 PM, mtaylor at redhat.com wrote:
> From: Martyn Taylor<mtaylor at redhat.com>
>
> ---
>   .../_matching_provider_hardware_profiles.html.haml |    5 ++++-
>   .../views/hardware_profiles/_properties.html.haml  |    6 +++++-
>   2 files changed, 9 insertions(+), 2 deletions(-)
>
> diff --git a/src/app/views/hardware_profiles/_matching_provider_hardware_profiles.html.haml b/src/app/views/hardware_profiles/_matching_provider_hardware_profiles.html.haml
> index 09cb9d3..50f8f21 100644
> --- a/src/app/views/hardware_profiles/_matching_provider_hardware_profiles.html.haml
> +++ b/src/app/views/hardware_profiles/_matching_provider_hardware_profiles.html.haml
> @@ -1,7 +1,10 @@
>   - if @matching_hwps.size>  0
>     %table.flat
>       %thead
> -      = sortable_table_header @provider_hwps_header
> +      %tr
> +        - @provider_hwps_header.each do |header|
> +          %th
> +            = header[:name]
>       - @matching_hwps.each do |hwp|
>         %tr{:class =>  cycle('nostripe','stripe')}
>           %td
> diff --git a/src/app/views/hardware_profiles/_properties.html.haml b/src/app/views/hardware_profiles/_properties.html.haml
> index d2a9053..8fae3c1 100644
> --- a/src/app/views/hardware_profiles/_properties.html.haml
> +++ b/src/app/views/hardware_profiles/_properties.html.haml
> @@ -1,5 +1,9 @@
>   %table.flat
> -  = sortable_table_header @properties_header
> +  %thead
> +    %tr
> +      - @properties_header.each do |header|
> +        %th
> +          = header[:name]
>     - @hwp_properties.each do |hwpp|
>       %tr
>         %td

ACK



More information about the aeolus-devel mailing list