From 49cbbcd81206c231d4298e2bba4f863d9cfdb839 Mon Sep 17 00:00:00 2001 From: Angel Fernando Quiroz Campos Date: Mon, 21 Sep 2015 14:01:53 -0500 Subject: [PATCH] Fix social user block --- app/Resources/public/css/base.css | 31 +--------- main/template/default/social/user_block.tpl | 67 +++++++++++---------- 2 files changed, 38 insertions(+), 60 deletions(-) diff --git a/app/Resources/public/css/base.css b/app/Resources/public/css/base.css index bd251b1a5e..6c02bfc938 100644 --- a/app/Resources/public/css/base.css +++ b/app/Resources/public/css/base.css @@ -4592,6 +4592,9 @@ i.size-32.icon-new-work{ .social-avatar{ text-align: center; } +.social-avatar .user-details { + font-size: 12px; +} .social-avatar .img-profile{ margin-bottom: 5px; padding-left: 50px; @@ -4606,34 +4609,6 @@ i.size-32.icon-new-work{ display: inline-block; margin: auto; } -.social-avatar .lastname{ - font-size: 14px; - font-weight: bold; - color: #4d4d4d; - margin-bottom: 5px; -} -.social-avatar .firstname{ - font-size: 14px; - font-weight: bold; - color: #4d4d4d; - margin-bottom: 0px; -} -.social-avatar .social-avatar-vcard{ - font-size: 12px; - padding-top: 2px; - padding-bottom: 2px; - color: #666666; -} -.social-avatar .social-avatar-email, -.social-avatar .social-avatar-chat{ - font-size: 12px; - padding-top: 2px; - padding-bottom: 2px; - color: #666666; -} -.social-avatar .social-avatar-chat{ - margin-bottom: 15px; -} .social-avatar .edit-profile{ margin-top: 15px; margin-bottom: 15px; diff --git a/main/template/default/social/user_block.tpl b/main/template/default/social/user_block.tpl index 31f628ba46..c68be12992 100644 --- a/main/template/default/social/user_block.tpl +++ b/main/template/default/social/user_block.tpl @@ -1,41 +1,44 @@
{{ social_avatar_block }} - - - - {% if chat_enabled == 1 %} - {% if user.user_is_online_in_chat != 0 %} - - {% else %} - + +
  • + + {{ + {{ user.email}} + +
  • + {% if chat_enabled == 1 %} +
  • + {% if user.user_is_online_in_chat != 0 %} + + {{ + {{ "Chat" | get_lang }} ({{ "Online" | get_lang }}) + + {% else %} + {{ + {{ "Chat" | get_lang }} ({{ "Offline" | get_lang }}) + {% endif %} +
  • {% endif %} - {% endif %} + + {% if not profile_edition_link is empty %} - - - {{ "EditProfile" | get_lang }} - +

    + + + {{ "EditProfile" | get_lang }} + +

    {% endif %}