[PATCH conductor] Added back button to Provider realm show view and localization

Hugh Brock hbrock at redhat.com
Sat Feb 18 11:21:37 UTC 2012


What BZ # does this fix?

--H

=====================
Hugh Brock

On Feb 17, 2012, at 12:26 PM, Tomáš Hrčka <thrcka at redhat.com> wrote:

> ---
> src/app/views/provider_realms/show.html.haml |    5 ++++-
> src/config/locales/en.yml                    |    1 +
> 2 files changed, 5 insertions(+), 1 deletions(-)
> 
> diff --git a/src/app/views/provider_realms/show.html.haml b/src/app/views/provider_realms/show.html.haml
> index afa895a..e4183c1 100644
> --- a/src/app/views/provider_realms/show.html.haml
> +++ b/src/app/views/provider_realms/show.html.haml
> @@ -1,7 +1,10 @@
> = render :partial => 'layouts/admin_nav'
> %header.admin-page-header
>   %h1{:class => controller.controller_name}= @realm.name
> -
> +  #obj_actions.button_container
> +    .button-group
> +      = t('return_to')
> +      = link_to t('provider_realms'), edit_provider_path(@realm.provider, :details_tab =>  'realms', :only_tab =>  true), :class =>  'rounded-link', :id =>  'back_to_provider_realms_button'
> - unless @realm.available
>   %section.admin-content-section
>     %header.align-center
> diff --git a/src/config/locales/en.yml b/src/config/locales/en.yml
> index e50d487..e927700 100644
> --- a/src/config/locales/en.yml
> +++ b/src/config/locales/en.yml
> @@ -1319,3 +1319,4 @@ en:
>     provider_realms: Provider Realms
>     deployables: Deployables
>     deployments: Deployments
> +  provider_realms: Provider Realms
> -- 
> 1.7.1
> 


More information about the aeolus-devel mailing list