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

Tomáš Hrčka thrcka at redhat.com
Mon Feb 20 09:38:08 UTC 2012


On 02/18/2012 12:21 PM, Hugh Brock wrote:
> What BZ # does this fix?

It fix BZ on product but is should be here also. 
https://bugzilla.redhat.com/show_bug.cgi?id=786010

>
> --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
>>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.fedorahosted.org/pipermail/aeolus-devel/attachments/20120220/7e3297e5/attachment.html>


More information about the aeolus-devel mailing list