profile pages bugs for guest

remotes/origin/1203
pavel 11 years ago
parent ec7737623c
commit e05ea435b7
  1. 2
      templates/client/includes/accounts/simple_user.html
  2. 1
      templates/client/includes/company/company_object.html
  3. 2
      templates/client/static_client/js/_modules/page.profile.js

@ -23,7 +23,7 @@
<header>
<div class="i-place">
{% if member.profile.country %}
<a href="#">{{ member.profile.country }}</a>, <a href="#">{{ member.profile.city }}</a>
{{ member.profile.country }}, {{ member.profile.city }}
{% endif %}
</div>
<div class="i-title">{{ member.get_full_name }}</div>

@ -174,6 +174,7 @@
<div class="sl-item clearfix">
<div class="sl-pict">
{% if user.get_avatar %}
{% else %}
<img src="{% static 'client/img/no-logo.png' %}" alt="" />
{% endif %}

@ -123,7 +123,7 @@ if (EXPO.profile){
* @public
*/
refreshState: function () {
if($.trim( this.$staticValue.text()) == '' && this.$wrapper.length && this.refrashable){
if(($.trim( this.$staticValue.text()) == '' || $.trim( this.$staticValue.text()) == 'None') && this.$wrapper.length && this.refrashable){
this.$editable.addClass('hidden');
this.$editable.removeClass(EXPO.company.opt.formCurrentClass);
this.$description.removeClass('hidden');

Loading…
Cancel
Save