[Notice] Announcing the End of Demo Server [Read me]
DeokHong Kim (a.k.a insanehong) DeokHong Kim (a.k.a insanehong) 2013-10-22
board: fixed comment position from right side to meta info wrap
@4fdb3119df277436d9924d47addb4ef7405ed650
app/assets/stylesheets/less/_page.less
--- app/assets/stylesheets/less/_page.less
+++ app/assets/stylesheets/less/_page.less
@@ -3197,6 +3197,14 @@
                     color: #696969;
                     margin-right:5px;
                 }
+
+                .comment-wrap {
+                    display:inline-block;
+                    margin-left:10px;
+                    
+                    .num { color: @secondary; font-weight:bold; }
+                    .icon {  margin-right: 3px; color : #51aacc; } 
+                }
             }
         }
         .author-avatar-space{
app/views/board/partial_list.scala.html
--- app/views/board/partial_list.scala.html
+++ app/views/board/partial_list.scala.html
@@ -20,13 +20,11 @@
         <p class="infos nm">
             <a href="@routes.UserApp.userInfo(post.authorLoginId)" class="author">@post.authorName</a><!--
             -->&nbsp;<span class="date">@utils.TemplateHelper.agoString(post.ago())</span>
-        </p>
-    </div>
-    <div class="right-panel">
-        <div class="comment-wrap">
             @if(post.numOfComments > 0){
-            <i class="yobicon-comments"></i> <span class="num">@post.numOfComments</span>
+             <a href="@routes.BoardApp.post(project.owner, project.name, post.getNumber)#comments" class="comment-wrap">
+                <i class="yobicon-comments"></i> <span class="num">@post.numOfComments</span>
+            </a>
             }
-        </div>
+        </p>
     </div>
 </li>
(No newline at end of file)
Add a comment
List