Jihan Kim 2014-06-27
Project: "no assignee" avatar on dashboard
@ee5138134c1aec7614952e56da1847f087420e0c
app/assets/stylesheets/less/_yobiUI.less
--- app/assets/stylesheets/less/_yobiUI.less
+++ app/assets/stylesheets/less/_yobiUI.less
@@ -450,6 +450,12 @@
         height:100%;
         vertical-align:top;
     }
+
+    i {
+        width:100%; height:100%;
+        display:block; line-height:inherit;
+        text-align:center; color:#fff;
+    }
 }
 
 /** tab UI **/
app/views/project/partial_dashboard_issuesbyassignee.scala.html
--- app/views/project/partial_dashboard_issuesbyassignee.scala.html
+++ app/views/project/partial_dashboard_issuesbyassignee.scala.html
@@ -62,8 +62,11 @@
         @defining(getPercent(notAssignedIssues, totalIssues)) { notAssignedPerc =>
             <div class="row-fluid">
                 <div class="span6">
-                    <a href="@makeIssuesLink(project, scala.collection.immutable.Map("assigneeId"->User.anonymous.id.toString))">
-                    @Messages("issue.noAssignee")
+                    <a href="@makeIssuesLink(project, scala.collection.immutable.Map("assigneeId"->User.anonymous.id.toString))" class="usf-group">
+                        <span class="avatar-wrap smaller">
+                          <i class="yobicon-blankstare"></i>
+                        </span>
+                        <span class="name">@Messages("issue.noAssignee")</span>
                     </a>
                 </div>
                 <div class="span3 num">
Add a comment
List