2017-04-22 12:43:30 -07:00
|
|
|
{% trans_default_domain 'SikofittDoughnutweddingBundle' %}
|
2017-05-05 22:49:54 -07:00
|
|
|
|
|
|
|
<h2 class="uk-width-1-1 uk-margin-medium-bottom uk-margin-remove-top uk-text-center">User Information</h2>
|
2017-04-09 18:08:01 -07:00
|
|
|
|
2017-04-25 15:45:32 -07:00
|
|
|
<div class="uk-width-1-1 uk-text-center uk-child-width-1-2" uk-grid>
|
2017-04-22 12:43:30 -07:00
|
|
|
|
|
|
|
<div><p class="uk-padding-small uk-text-right">{{ 'profile.name'|trans }}</p></div>
|
|
|
|
<div><p class="uk-padding-small uk-text-left">{{ user.name }}</p></div>
|
|
|
|
|
|
|
|
<div><p class="uk-padding-small uk-text-right">{{ 'profile.email'|trans }}</p></div>
|
|
|
|
<div><p class="uk-padding-small uk-text-left">{{ user.email }}</p></div>
|
|
|
|
|
|
|
|
<div><p class="uk-padding-small uk-text-right">{{ 'profile.rsvp'|trans }}</p></div>
|
|
|
|
<div><p class="uk-padding-small uk-text-left">{% if user.rsvp is not null %}{{ user.rsvp.guests }}{% else %}0{% endif %}</p></div>
|
2017-04-25 15:45:32 -07:00
|
|
|
|
|
|
|
</div>
|
|
|
|
<div class="uk-width-1-1 uk-margin-medium uk-text-center">
|
|
|
|
You can change your password <a href="{{ path('fos_user_change_password') }}">here.</a>
|
|
|
|
</div>
|
|
|
|
<div class="uk-width-1-2@m uk-width-1-1@s uk-align-center uk-margin-small uk-first-column">
|
|
|
|
<a href="{{ url('fos_user_profile_edit') }}" title="Edit profile" class="uk-button-large uk-button uk-button-primary uk-width-1-1">Edit Information</a>
|
|
|
|
</div>
|
2017-05-05 22:49:54 -07:00
|
|
|
<div class="uk-width-1-6@m uk-visible@m uk-margin-large-bottom@s uk-position-bottom-right">
|
2017-04-22 12:43:30 -07:00
|
|
|
|
|
|
|
<ul class="uk-iconnav uk-iconnav-vertical">
|
2017-05-05 22:49:54 -07:00
|
|
|
<li>{% set serviceActiveClass ='' %}
|
|
|
|
{% if user.facebookid is not null %}{% set serviceActiveClass ='uk-icon-facebook' %}{% endif %}
|
|
|
|
<a class="{{ serviceActiveClass }} uk-align-left uk-text-center uk-login uk-login-facebook" href="{{ url("hwi_oauth_service_redirect", {service: "facebook"}) }}" uk-icon="icon: facebook; ratio:1.5"></a>
|
|
|
|
</li>{% set serviceActiveClass='' %}
|
|
|
|
<li>{% if user.googleid is not null %}{% set serviceActiveClass ='uk-icon-google' %}{% endif %}
|
|
|
|
<a class="{{ serviceActiveClass }} uk-align-left uk-text-center uk-login uk-login-google" href="{{ url("hwi_oauth_service_redirect", {service: "google"}) }}" uk-icon="icon: google; ratio:1.5"></a>
|
|
|
|
</li>{% set serviceActiveClass='' %}
|
|
|
|
<li>{% if user.twitterid is not null %}{% set serviceActiveClass ='uk-icon-twitter' %}{% endif %}
|
|
|
|
<a class="{{ serviceActiveClass }} uk-align-left uk-text-center uk-login uk-login-twitter" href="{{ url("hwi_oauth_service_redirect", {service: "twitter"}) }}" uk-icon="icon: twitter; ratio:1.5"></a>
|
|
|
|
</li>{% set serviceActiveClass='' %}
|
|
|
|
<li>{% if user.yahooid is not null %}{% set serviceActiveClass = 'uk-icon-yahoo' %}{% endif %}
|
|
|
|
<a class="{{ serviceActiveClass }} uk-align-left uk-text-center uk-login uk-login-yahoo" href="{{ url("hwi_oauth_service_redirect", {service: "yahoo"}) }}" uk-icon="icon: yahoo; ratio:1.5"></a>
|
|
|
|
</li>{% set serviceActiveClass='' %}
|
|
|
|
<li>{% if user.amazonid is not null %}{% set serviceActiveClass = 'uk-icon-amazon' %}{% endif %}
|
|
|
|
<a class="{{ serviceActiveClass }} uk-align-left uk-login uk-login-amazon" href="{{ url("hwi_oauth_service_redirect", {service: "amazon"}) }}" uk-icon="icon: amazon; ratio:1.5"></a>
|
|
|
|
</li>{% set serviceActiveClass='' %}
|
2017-04-22 12:43:30 -07:00
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
<div class="uk-margin-medium uk-width-1-1 uk-text-center">{{ 'profile.member_since'|trans({'%date%':user.created|date('l F jS, Y (h:i a)')}) }}</div>
|