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

Jozef Zigmund jzigmund at redhat.com
Mon Feb 20 13:12:27 UTC 2012


On Friday 17 February 2012 18:26:19 Tomáš Hrčka 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

ACK.



More information about the aeolus-devel mailing list