changeset 1885:350d95dece6f beta

ui touch ups
author Marcin Kuzminski <marcin@python-works.com>
date Thu, 12 Jan 2012 05:23:52 +0200
parents 0614862a20ec
children 50e32940e464
files rhodecode/public/css/style.css rhodecode/templates/changelog/changelog.html
diffstat 2 files changed, 8 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/rhodecode/public/css/style.css	Wed Jan 11 17:59:15 2012 +0200
+++ b/rhodecode/public/css/style.css	Thu Jan 12 05:23:52 2012 +0200
@@ -2279,7 +2279,7 @@
 
 #graph_content .container {
 	border-bottom: 1px solid #DDD;
-	height: 57px;
+	height: 56px;
 	overflow: hidden;
 }
 
@@ -2334,7 +2334,7 @@
 	padding-right: 5px;
 	margin-top:1px;
 	float:right;
-	height:16px;
+	height:14px;
 }
 
 .right .comments-cnt{
--- a/rhodecode/templates/changelog/changelog.html	Wed Jan 11 17:59:15 2012 +0200
+++ b/rhodecode/templates/changelog/changelog.html	Thu Jan 12 05:23:52 2012 +0200
@@ -67,8 +67,12 @@
                                         <div id="${cs.raw_id}"  style="float:right;" class="changed_total tooltip" title="${_('Affected number of files, click to show more details')}">${len(cs.affected_files)}</div>
                                         <div class="comments-container">
                                         %if len(c.comments.get(cs.raw_id,[])) > 0:
-                                            <div class="comments-cnt" title="${('comments')}">${len(c.comments.get(cs.raw_id,[]))}</div>
-                                            <img src="${h.url('/images/icons/comments.png')}">
+                                            <div class="comments-cnt" title="${('comments')}">
+                                              <a href="${h.url('changeset_home',repo_name=c.repo_name,revision=cs.raw_id,anchor='comment-%s' % c.comments[cs.raw_id][0].comment_id)}">
+                                               <div class="comments-cnt">${len(c.comments[cs.raw_id])}</div>
+                                               <img src="${h.url('/images/icons/comments.png')}">
+                                              </a>
+                                            </div>
                                         %endif    
                                         </div>
 									</div>