{{ 'connect.confirm.text' | trans({'%service%': ('service.' ~ service) | trans({}, 'UserBundle'), '%name%': userInformation.realName}, 'UserBundle') }}
9 | 10 | {{ form_start(form, {'action': path('hwi_oauth_connect_service', {'service': service, 'key': key}), 'attr': {'class': 'fos_user_registration_register'}}) }} 11 | {{ form_widget(form) }} 12 |{{ 'paragraph.connecting' | trans({'%name%': app.user.displayName, '%service%': ('service.' ~ service) | trans({}, 'UserBundle')}, 'UserBundle') | nl2br }}
7 |{{ 'paragraph.herd_tending' | trans({}, 'UserBundle') }}
8 | 9 | {% endblock hwi_oauth_content %} 10 | -------------------------------------------------------------------------------- /src/Bundles/UserBundle/Resources/views/hwi-oauth/Connect/login.html.twig: -------------------------------------------------------------------------------- 1 | {% extends '@HWIOAuth/layout.html.twig' %} 2 | 3 | {% block hwi_oauth_content %} 4 | 5 | {% if error is defined and error %} 6 | {{ alert(error, 'danger') }} 7 | {% endif %} 8 | 9 | {% for owner in hwi_oauth_resource_owners() %} 10 | 11 | {{ icon(owner) }} 12 | Login with {{ owner | trans({}, 'UserBundle') }} 13 | 14 | {% endfor %} 15 | 16 | {% endblock hwi_oauth_content %} 17 | -------------------------------------------------------------------------------- /src/Bundles/UserBundle/Resources/views/hwi-oauth/Connect/registration.html.twig: -------------------------------------------------------------------------------- 1 | {% extends '@HWIOAuth/layout.html.twig' %} 2 | 3 | {% block hwi_oauth_content %} 4 |{{ 'paragraph.register' | trans({'%name%': app.user.displayName, '%username%': app.user.username}, 'UserBundle') | nl2br }}
7 |{{ 'paragraph.herd_tending' | trans({}, 'UserBundle') }}
8 | 9 | {% endblock hwi_oauth_content %} 10 | -------------------------------------------------------------------------------- /src/Bundles/UserBundle/Resources/views/hwi-oauth/layout.html.twig: -------------------------------------------------------------------------------- 1 | {% extends 'Layout/base.html.twig' %} 2 | 3 | {% block body %} 4 | 5 |({{ 'site.contributors.contributions'|transchoice(contributor.contributionCount) }})
14 |26 | {% trans with {"%link%": "github"} %} 27 | site.contributors.invitation 28 | {% endtrans %} 29 |
30 | 31 |