Browse Source

Fixes in User Profile

Ralfp 12 years ago
parent
commit
341fa44ad0

+ 1 - 1
static/sora/css/sora.css

@@ -931,5 +931,5 @@ th.table-sort.sort-desc a:hover{border-bottom:3px solid #eca09a;padding-bottom:5
 .clickable{cursor:pointer;}
 .profile-header{overflow:auto;border-bottom:none;margin-bottom:30px;}.profile-header .avatar-height{overflow:auto;}.profile-header .avatar-height .avatar{margin-right:24px;width:125px;height:125px;}
 .profile-header .avatar-height h1{font-size:300%;}
-.profile-header .avatar-height .lead{color:#7b7b7b;}
+.profile-header .avatar-height .lead{color:#555555;}.profile-header .avatar-height .lead .muted{color:#959595;}
 .profile-header .nav-tabs{margin-top:-22px;margin-bottom:0px;padding-left:142px;}

+ 5 - 1
static/sora/css/sora/utilities.less

@@ -23,7 +23,11 @@
     }
     
     .lead {
-      color: lighten(@gray, 15%);
+      color: @gray;
+      
+      .muted {
+        color: lighten(@gray, 25%);
+      }
     }
   }
   

+ 2 - 2
templates/sora/users/profile.html

@@ -12,8 +12,8 @@
   <div class="avatar-height">
     <img src="{{ profile.get_avatar() }}" class="avatar pull-left" alt="{% trans %}Member Avatar{% endtrans %}" title="{% trans %}Member Avatar{% endtrans %}">
     <div class="pull-left">
-      <h1>{{ profile.username }} <small>{% if profile.title %}{{ _(profile.title) }}{% elif profile.rank.title %}{{ _(profile.rank.title) }}{% endif %}</small></h1>
-      <p class="lead">{% trans joined=profile.join_date|date(f.DATE_FORMAT), member_since=profile.join_date|naturaltime %}Joined on {{ joined }}, {{ member_since }}.{% endtrans %} {% trans last_visit=profile.last_date|naturaltime %}Last seen {{ last_visit }}.{% endtrans %}</p>
+      <h1>{{ profile.username }} <small>{% trans last_visit=profile.last_date|naturaltime %}Last seen {{ last_visit }}{% endtrans %}</small></h1>
+      <p class="lead">{% if profile.title %}{{ _(profile.title) }}{% elif profile.rank.title %}{{ _(profile.rank.title) }}{% endif %}, <span class="muted">{% trans joined=profile.join_date|date(f.DATE_FORMAT) %}Member since {{ joined }}{% endtrans %}</span></p>
     </div>
   </div>	
   <ul class="nav nav-tabs">