app/views/mno_enterprise/auth/shared/_links.html.haml in mno-enterprise-api-2.0.9 vs app/views/mno_enterprise/auth/shared/_links.html.haml in mno-enterprise-api-3.0.0

- old
+ new

@@ -1,24 +1,24 @@ - if controller_name != 'sessions' - = link_to "Already have an account? Log in", new_session_path(resource_name) + = link_to t('mno_enterprise.auth.shared.links.login'), new_session_path(resource_name) %br/ - if devise_mapping.registerable? && controller_name != 'registrations' - = link_to "Don't have an account? Sign up", new_registration_path(resource_name) + = link_to t('mno_enterprise.auth.shared.links.signup'), new_registration_path(resource_name) %br/ - if devise_mapping.recoverable? && controller_name != 'passwords' && controller_name != 'registrations' && MnoEnterprise.style.devise.forgot_password_link_shown - = link_to "Forgot your password?", new_password_path(resource_name) + = link_to t('mno_enterprise.auth.shared.links.recover_password'), new_password_path(resource_name) %br/ - if devise_mapping.confirmable? && controller_name != 'confirmations' && MnoEnterprise.style.devise.confirmation_link_shown - = link_to "Didn't receive confirmation instructions?", new_confirmation_path(resource_name) + = link_to t('mno_enterprise.auth.shared.links.resend_confirmation'), new_confirmation_path(resource_name) %br/ - if devise_mapping.lockable? && resource_class.unlock_strategy_enabled?(:email) && controller_name != 'unlocks' && MnoEnterprise.style.devise.unlock_link_shown - = link_to "Didn't receive unlock instructions?", new_unlock_path(resource_name) + = link_to t('mno_enterprise.auth.shared.links.unlock'), new_unlock_path(resource_name) %br/ - if devise_mapping.omniauthable? && MnoEnterprise.style.devise.omniauth_link_shown - resource_class.omniauth_providers.each do |provider| - = link_to "Sign in with #{provider.to_s.titleize}", omniauth_authorize_path(resource_name, provider) + = link_to t('mno_enterprise.auth.shared.links.omni_login', provider: provider.to_s.titleize), omniauth_authorize_path(resource_name, provider) %br/