On 12/07/2010 04:31 PM, [email protected] wrote:
> From: Martyn Taylor<[email protected]>
>
> ---
>   src/app/views/users/index.haml |    4 +++-
>   1 files changed, 3 insertions(+), 1 deletions(-)
>
> diff --git a/src/app/views/users/index.haml b/src/app/views/users/index.haml
> index d0a5d7e..8ec3178 100644
> --- a/src/app/views/users/index.haml
> +++ b/src/app/views/users/index.haml
> @@ -26,16 +26,18 @@
>             =link_to "Quota", users_url(:sort_by =>  "quota")
>             %span (Instances)
>           %th= link_to "e-mail", users_url(:sort_by =>  "email")
> +        %th
>       [email protected] do |user|
>         %tr
>           %td
>             %input{:name =>  "user_checkbox", :type =>  "radio", :value =>  
> user.id, :id =>  "user_checkbox_#{user.id}" }
> -        %td= link_to user.login, {:action =>  "edit", :id =>  user.id}
> +        %td= link_to user.login, user_path(user)
>           %td= user.last_name
>           %td= user.first_name
>           %td= sprintf("%.2f", user.quota.percentage_used)
>           %td= Quota.no_limit(user.quota.maximum_running_instances) ? 
> "Unlimited" : user.quota.maximum_running_instances
>           %td= user.email
> +        %td= link_to "edit", edit_user_path(user)
>
>   :javascript
>     $(document).ready(function () {

ACK to both patches
_______________________________________________
deltacloud-devel mailing list
[email protected]
https://fedorahosted.org/mailman/listinfo/deltacloud-devel

Reply via email to