32 lines
2.7 KiB
Twig
32 lines
2.7 KiB
Twig
{% trans_default_domain 'SikofittDoughnutweddingBundle' %}
|
|
<h2 class="uk-width-1-1 uk-margin-medium-bottom uk-text-center">User Information</h2>
|
|
|
|
<div class="uk-width-1-1 uk-text-center uk-grid-divider uk-child-width-1-2" uk-grid>
|
|
|
|
<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>
|
|
<div class="uk-width-1-2@m uk-width-1-1@s uk-align-center uk-margin-small uk-grid-margin 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>
|
|
</div>
|
|
<div class="uk-width-1-6@m uk-visible@m uk-margin-large-top uk-position-center-right">
|
|
|
|
<ul class="uk-iconnav uk-iconnav-vertical">
|
|
<li>
|
|
<a {% if user.facebookid is not null %} style="color:#0b97c4;" {% endif %}class="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>
|
|
<li><a class="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>
|
|
<li><a class="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>
|
|
<li><a href="{{ url("hwi_oauth_service_redirect", {service: "yahoo"}) }}" class="uk-align-left uk-icon-image uk-align-center uk-login uk-login-yahoo"><img height="30" width="30" src="{{ asset('images/yahoo.svg') }}" uk-svg></a></li>
|
|
<li><a href="{{ url("hwi_oauth_service_redirect", {service: "amazon"}) }}" class="uk-align-left uk-icon-image uk-align-center uk-login uk-login-amazon"><img height="30" width="30" src="{{ asset('images/amazon.svg') }}" uk-svg></a></li>
|
|
|
|
<li><a class="uk-align-left uk-text-center uk-login uk-login-instagram" href="{{ url("hwi_oauth_service_redirect", {service: "instagram"}) }}" uk-icon="icon: instagram; ratio:1.5"></a></li>
|
|
</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>
|