changeset 541:c8798599cf8d

fixed displaying multi line commit messages, some templating updates
author Marcin Kuzminski <marcin@python-works.com>
date Tue, 05 Oct 2010 01:58:53 +0200
parents efbab97c3aca
children c43b1a6d3ba9 a99e23e6c1e8
files pylons_app/public/css/style.css pylons_app/templates/changelog/changelog.html pylons_app/templates/changeset/changeset.html
diffstat 3 files changed, 7 insertions(+), 10 deletions(-) [+]
line wrap: on
line diff
--- a/pylons_app/public/css/style.css	Sun Oct 03 17:37:58 2010 +0200
+++ b/pylons_app/public/css/style.css	Tue Oct 05 01:58:53 2010 +0200
@@ -3060,7 +3060,7 @@
 #changeset_content .container {
 	min-height: 120px;
 	font-size: 1.2em;
-	
+	overflow: hidden;
 }
 
 #changeset_content .container .left {
@@ -3086,6 +3086,7 @@
 #changeset_content .container .left .message {
 	font-style: italic;
 	color: #556CB5;
+	white-space: pre-wrap;
 }
 
 .cs_files {
@@ -3167,8 +3168,9 @@
 
 #graph_content .container .right {
 	float: right;
-	width: 25%;
+	width: 28%;
 	text-align: right;
+	padding-bottom: 5px;
 }
 
 #graph_content .container .left .date {
@@ -3182,6 +3184,7 @@
 #graph_content .container .left .message {
 	font-size: 100%;
 	padding-top: 3px;
+	white-space: pre-wrap;
 }
 
 .right div {
--- a/pylons_app/templates/changelog/changelog.html	Sun Oct 03 17:37:58 2010 +0200
+++ b/pylons_app/templates/changelog/changelog.html	Tue Oct 05 01:58:53 2010 +0200
@@ -54,10 +54,7 @@
 								<span>${h.person(cs.author)}</span><br/>
 								<span><a href="mailto:${h.email_or_none(cs.author)}">${h.email_or_none(cs.author)}</a></span><br/>
 							</div>
-							<div class="message">
-								${h.link_to(h.wrap_paragraphs(cs.message),
-								h.url('changeset_home',repo_name=c.repo_name,revision=cs.short_id))}
-							</div>
+							<div class="message">${h.link_to(h.wrap_paragraphs(cs.message),h.url('changeset_home',repo_name=c.repo_name,revision=cs.short_id))}</div>
 						</div>	
 						<div class="right">
 									<div class="changes">
--- a/pylons_app/templates/changeset/changeset.html	Sun Oct 03 17:37:58 2010 +0200
+++ b/pylons_app/templates/changeset/changeset.html	Tue Oct 05 01:58:53 2010 +0200
@@ -45,10 +45,7 @@
 	                     <span>${h.person(c.changeset.author)}</span><br/>
 	                     <span><a href="mailto:${h.email_or_none(c.changeset.author)}">${h.email_or_none(c.changeset.author)}</a></span><br/>
 	                 </div>
-	                 <div class="message">
-	                     ${h.link_to(h.wrap_paragraphs(c.changeset.message),
-	                     h.url('changeset_home',repo_name=c.repo_name,revision=c.changeset.short_id))}
-	                 </div>
+	                 <div class="message">${h.link_to(h.wrap_paragraphs(c.changeset.message),h.url('changeset_home',repo_name=c.repo_name,revision=c.changeset.short_id))}</div>
 	             </div>
 	             <div class="right">
 		             <div class="changes">