changeset 651:ae292c3b94ed beta

some css updates. Added title for changed/added/removed in changelog
author Marcin Kuzminski <marcin@python-works.com>
date Thu, 04 Nov 2010 02:30:48 +0100
parents 0c065f793d0e
children 37dc1e8d84d8
files rhodecode/model/repo.py rhodecode/public/css/style.css rhodecode/templates/changelog/changelog.html
diffstat 3 files changed, 12 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/rhodecode/model/repo.py	Wed Nov 03 16:29:12 2010 +0100
+++ b/rhodecode/model/repo.py	Thu Nov 04 02:30:48 2010 +0100
@@ -111,6 +111,7 @@
     def create(self, form_data, cur_user, just_db=False, fork=False):
         try:
             if fork:
+                #force str since hg doesn't go with unicode
                 repo_name = str(form_data['fork_name'])
                 org_name = str(form_data['repo_name'])
 
--- a/rhodecode/public/css/style.css	Wed Nov 03 16:29:12 2010 +0100
+++ b/rhodecode/public/css/style.css	Thu Nov 04 02:30:48 2010 +0100
@@ -1542,7 +1542,7 @@
 
 .right .merge {
 vertical-align:top;
-font-size:60%;
+font-size:0.75em;
 font-weight:700;
 }
 
@@ -1554,13 +1554,15 @@
 .right .logtags .branchtag {
 background:#FFF url("../images/icons/arrow_branch.png") no-repeat right 6px;
 display:block;
-padding:8px 16px 0 0;
+font-size:0.8em;
+padding:11px 16px 0 0;
 }
 
 .right .logtags .tagtag {
 background:#FFF url("../images/icons/tag_blue.png") no-repeat right 6px;
 display:block;
-padding:6px 18px 0 0;
+font-size:0.8em;
+padding:11px 16px 0 0;
 }
 
 div.browserblock {
--- a/rhodecode/templates/changelog/changelog.html	Wed Nov 03 16:29:12 2010 +0100
+++ b/rhodecode/templates/changelog/changelog.html	Thu Nov 04 02:30:48 2010 +0100
@@ -58,9 +58,12 @@
 						</div>	
 						<div class="right">
 									<div class="changes">
-										<span class="removed" title="${_('removed')}">${len(cs.removed)}</span>
-										<span class="changed" title="${_('changed')}">${len(cs.changed)}</span>
-										<span class="added" title="${_('added')}">${len(cs.added)}</span>
+										<span class="removed" title="${_('removed')}: ${' | '.join([x.name for x in cs.removed])}">
+										${len(cs.removed)}</span>
+										<span class="changed" title="${_('changed')}: ${' | '.join([x.name for x in cs.changed])}">
+										${len(cs.changed)}</span>
+										<span class="added" title="${_('added')}: ${' | '.join([x.name for x in cs.added])}">
+										${len(cs.added)}</span>
 									</div>					
 										%if len(cs.parents)>1:
 										<div class="merge">