profile pages bugs for guest

remotes/origin/1203
pavel 11 years ago
parent 7607f904ce
commit ec7737623c
  1. 12
      templates/client/includes/accounts/simple_user.html
  2. 4
      templates/client/includes/company/company_edit.html
  3. 17
      templates/client/includes/company/company_object.html
  4. 9
      templates/client/static_client/css/main.css

@ -1,14 +1,20 @@
{% load static %} {% load static %}
{% load i18n %} {% load i18n %}
{% load template_filters %} {% load template_filters %}
{% load thumbnail %}
<div class="m-article outer-profile">
<div class="m-article">
<div class="item-wrap clearfix"> <div class="item-wrap clearfix">
<aside> <aside>
{% if member.profile.avatar %} {% if member.profile.avatar %}
<div class="i-pict"> <div class="i-pict">
<img clas="user-avatar" src="{{ im.url }}" width="{{ im.width }}" height="{{ im.height }}">
{% thumbnail member.profile.avatar "100x100" crop="center" as im %}
<img class="user-avatar" src="{{ im.url }}" width="{{ im.width }}" height="{{ im.height }}"/>
{% endthumbnail %}
{% else %}
<img class="user-avatar" src="{% static 'client/img/no-logo.png' %}" width="100" height="100"/>
</div> </div>
{% endif %} {% endif %}

@ -273,7 +273,7 @@
<img id="img-linkedin" src="{% static 'client/img/soc-medias/sm-icon-lin.png' %}" title="LinkedIn" alt="LinkedIn" /> <img id="img-linkedin" src="{% static 'client/img/soc-medias/sm-icon-lin.png' %}" title="LinkedIn" alt="LinkedIn" />
</a> </a>
{% else %} {% else %}
<img id="img-linkedin" src="{% static 'client/img/soc-medias/icon-lin_hover.png' %}" title="LinkedIn" alt="LinkedIn" /> <img id="img-linkedin" src="{% static 'client/img/soc-medias/sm-icon-lin_hover.png' %}" title="LinkedIn" alt="LinkedIn" />
{% endif %} {% endif %}
<li> <li>
@ -539,7 +539,7 @@
<div class="p-editable ic-tel editable-wrap hidden"> <div class="p-editable ic-tel editable-wrap hidden">
<span id="static-description-value" class="static-value">{{ description_form.description.value }}&nbsp;</span> <span id="static-description-value" class="static-value description-text">{{ description_form.description.value }}&nbsp;</span>
<div class="edit-wrap"> <div class="edit-wrap">

@ -1,17 +1,20 @@
{% load static %} {% load static %}
{% load i18n %} {% load i18n %}
{% load template_filters %} {% load template_filters %}
{% load thumbnail %}
{% block page_body %} {% block page_body %}
<div class="m-article"> <div class="m-article">
<div class="item-wrap clearfix"> <div class="item-wrap clearfix">
<aside> <aside>
<div class="i-pict"> <div class="i-pict">
{% with obj=company %} {% if company.logo %}
{% include 'includes/show_logo.html' %} {% thumbnail company.logo "100x100" crop="center" as im %}
{% endwith %} <img class="user-avatar" src="{{ im.url }}" width="{{ im.width }}" height="{{ im.height }}"/>
{% endthumbnail %}
{% else %}
<img class="user-avatar" src="{% static 'client/img/no-logo.png' %}" width="100" height="100"/>
{% endif %}
</div> </div>
</aside> </aside>
<div class="i-info"> <div class="i-info">
@ -19,10 +22,6 @@
<div class="i-title">{{ company.name|safe }}</div> <div class="i-title">{{ company.name|safe }}</div>
</header> </header>
<div class="i-descr">
{{ company.description|safe }}
</div>
<div class="i-area"><a href="#">{{ company.specialization }}</a></div> <div class="i-area"><a href="#">{{ company.specialization }}</a></div>
<hr /> <hr />

@ -12937,10 +12937,19 @@ hr + .rq-note {
line-height: 36px !important; line-height: 36px !important;
font-size: 16px !important; font-size: 16px !important;
} }
.edit-profile .description-text{
font-size: 14px;
}
.edit-profile .add_link_teg .label{ .edit-profile .add_link_teg .label{
float: none; float: none;
margin-left: 12px; margin-left: 12px;
} }
.outer-profile .i-additional{
margin-bottom: 36px;
}
.outer-profile .i-info .i-title{
margin-bottom: 14px;
}
/************************\ /************************\
# about page /about/ # about page /about/

Loading…
Cancel
Save