Fixed user data boxes

Signed-off-by: Gergely Polonkai <polesz@w00d5t0ck.info>
This commit is contained in:
Polonkai Gergely 2012-08-30 11:53:05 +02:00
parent 6813b88315
commit 56c0b0b37d
2 changed files with 9 additions and 5 deletions

View File

@ -116,7 +116,7 @@
}); });
$('#jog-lista').cluetip({ $('#jog-lista').cluetip({
splitTitle: '|', splitTitle: '|',
showTitle: false showTitle: true
}); });
$('.program').cluetip({ $('.program').cluetip({
cluezIndex: 1000 cluezIndex: 1000

View File

@ -19,16 +19,17 @@
<strong>MSN cím</strong>: {{ user.userData.msnAddress }}<br /> <strong>MSN cím</strong>: {{ user.userData.msnAddress }}<br />
{% endif %} {% endif %}
{% if user.userData and user.userData.googleTalk != '' and (is_granted('ROLE_ADMIN') or user.userData.googleTalkPublic) %} {% if user.userData and user.userData.googleTalk != '' and (is_granted('ROLE_ADMIN') or user.userData.googleTalkPublic) %}
<strong>Google Talk cím</strong>: {{ user.userData.googleTalk }} <strong>Google Talk cím</strong>: {{ user.userData.googleTalk }}<br />
{% endif %} {% endif %}
{% if user.userData and user.userData.skype != '' and (is_granted('ROLE_ADMIN') or user.userData.skypePublic) %} {% if user.userData and user.userData.skype != '' and (is_granted('ROLE_ADMIN') or user.userData.skypePublic) %}
<strong>Skype név</strong>: {{ user.userData.skypePublic }} <strong>Skype név</strong>: {{ user.userData.skype}}<br />
{% endif %} {% endif %}
{% if user.userData and user.userData.phoneNumber != '' and (is_granted('ROLE_ADMIN') or user.userData.phoneNumberPublic) %} {% if user.userData and user.userData.phoneNumber != '' and (is_granted('ROLE_ADMIN') or user.userData.phoneNumberPublic) %}
<strong>Telefonszám</strong>: {{ user.userData.phoneNumber }}<br /> <strong>Telefonszám</strong>: {{ user.userData.phoneNumber }}<br />
{% endif %} {% endif %}
{% if user.userData and user.userData.selfDescription != '' %} {% if user.userData and user.userData.selfDescription != '' %}
<strong>Leírás</strong>: {{ user.userData.selfDescription }}<br /> <strong>Leírás</strong>:<br />
{{ user.userData.selfDescription }}<br />
{% endif %} {% endif %}
<strong>Csoportok</strong>:<br /> <strong>Csoportok</strong>:<br />
{% set groupCount = 0 %} {% set groupCount = 0 %}
@ -44,7 +45,10 @@ Egy csoportnak sem tagja.<br />
{% if is_granted('ROLE_ADMIN') %} {% if is_granted('ROLE_ADMIN') %}
<strong>Jóváhagyta</strong>: {{ user.acceptedBy.displayName }}<br /> <strong>Jóváhagyta</strong>: {{ user.acceptedBy.displayName }}<br />
<strong>Utolsó bejelentkezés</strong>: {{ user.lastLoginAt|date('Y-m-d H:i') }}<br /> <strong>Utolsó bejelentkezés</strong>: {{ user.lastLoginAt|date('Y-m-d H:i') }}<br />
<strong>Jogok</strong>: <strong>Jogok</strong>:<br />
{% for role in user.roles %}
{{ role.shortDescription }}<br />
{% endfor %}
{% endif %} {% endif %}
</body> </body>
</html> </html>