changeset 526:804a14e086dc

added tags/branches icons in changelog and moved them to right to save some space
author Marcin Kuzminski <marcin@python-works.com>
date Thu, 30 Sep 2010 10:31:37 +0200
parents 87d80c84df09
children 6d44d3862ec4
files pylons_app/public/css/style.css pylons_app/templates/changelog/changelog.html
diffstat 2 files changed, 17 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/pylons_app/public/css/style.css	Wed Sep 29 22:38:54 2010 +0200
+++ b/pylons_app/public/css/style.css	Thu Sep 30 10:31:37 2010 +0200
@@ -3222,7 +3222,16 @@
 	font-family: monospace;
 }
 
-
+.right .logtags .branchtag{
+	background: #FFFFFF url("../images/icons/arrow_branch.png") no-repeat 130px 9px;
+    display:block;
+    padding:12px 2px 2px 24px;
+}
+.right .logtags .tagtag{
+    background: #FFFFFF url("../images/icons/tag_blue.png") no-repeat 130px 9px;
+    display:block;
+    padding:12px 2px 2px 24px;
+}
 
 /* -----------------------------------------------------------
 	FILE BROWSER
--- a/pylons_app/templates/changelog/changelog.html	Wed Sep 29 22:38:54 2010 +0200
+++ b/pylons_app/templates/changelog/changelog.html	Thu Sep 30 10:31:37 2010 +0200
@@ -47,12 +47,6 @@
 					<div id="chg_${cnt+1}" class="container">
 						<div class="left">
 							<div class="date">${_('commit')} ${cs.revision}: ${cs.short_id}@${cs.date}</div>
-								<span class="logtags">
-									<span class="branchtag">${cs.branch}</span>
-									%for tag in cs.tags:
-										<span class="tagtag">${tag}</span>
-									%endfor
-								</span>					
 							<div class="author">
 								<div class="gravatar">
 									<img alt="gravatar" src="${h.gravatar_url(h.email(cs.author),20)}"/>
@@ -80,7 +74,13 @@
 										<div class="parent">${_('Parent')} ${p_cs.revision}: ${h.link_to(p_cs.short_id,
 											h.url('changeset_home',repo_name=c.repo_name,revision=p_cs.short_id),title=p_cs.message)}
 										</div>
-									%endfor								
+									%endfor
+								<span class="logtags">
+									<span class="branchtag">${cs.branch}</span>
+									%for tag in cs.tags:
+										<span class="tagtag">${tag}</span>
+									%endfor
+								</span>																	
 						</div>				
 					</div>