From 072643f0b4b808d7fdf4cb73c65045e3b034dad8 Mon Sep 17 00:00:00 2001
From: James Moger <james.moger@gitblit.com>
Date: Fri, 15 Apr 2011 17:32:28 -0400
Subject: [PATCH] Show commit parents on separate lines.  "tagger" instead of "author".

---
 src/com/gitblit/wicket/GitBlitWebApp.properties |    3 ++-
 src/com/gitblit/wicket/pages/TagPage.html       |    4 ++--
 src/com/gitblit/wicket/pages/CommitPage.html    |    4 ++--
 3 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/src/com/gitblit/wicket/GitBlitWebApp.properties b/src/com/gitblit/wicket/GitBlitWebApp.properties
index 1088891..a5583c7 100644
--- a/src/com/gitblit/wicket/GitBlitWebApp.properties
+++ b/src/com/gitblit/wicket/GitBlitWebApp.properties
@@ -44,4 +44,5 @@
 gb.login = Login
 gb.logout = Logout
 gb.username = Username
-gb.password = Password
\ No newline at end of file
+gb.password = Password
+gb.tagger = tagger
\ No newline at end of file
diff --git a/src/com/gitblit/wicket/pages/CommitPage.html b/src/com/gitblit/wicket/pages/CommitPage.html
index a639f4a..8d06fc1 100644
--- a/src/com/gitblit/wicket/pages/CommitPage.html
+++ b/src/com/gitblit/wicket/pages/CommitPage.html
@@ -27,13 +27,13 @@
 		<tr><th></th><td><span wicket:id="commitCommitterDate">[commit date]</span></td></tr>
 		<tr><th><wicket:message key="gb.commit">commit</wicket:message></th><td><span class="sha1" wicket:id="commitId">[commit id]</span></td></tr>
 		<tr><th><wicket:message key="gb.tree">tree</wicket:message></th><td><span class="sha1" wicket:id="commitTree">[commit tree]</span></td></tr>
-		<tr><th><wicket:message key="gb.parent">parent</wicket:message></th>
+		<tr><th valign="top"><wicket:message key="gb.parent">parent</wicket:message></th>
 			<td>
 				<span wicket:id="commitParents">
 					<span class="sha1" wicket:id="commitParent">[commit parents]</span>
 					<span class="link">
 						<a wicket:id="view"><wicket:message key="gb.view"></wicket:message></a> | <a wicket:id="diff"><wicket:message key="gb.diff"></wicket:message></a>
-					</span>					
+					</span><br/>			
 				</span>
 			</td>
 		</tr>
diff --git a/src/com/gitblit/wicket/pages/TagPage.html b/src/com/gitblit/wicket/pages/TagPage.html
index 42a7585..cd2e19b 100644
--- a/src/com/gitblit/wicket/pages/TagPage.html
+++ b/src/com/gitblit/wicket/pages/TagPage.html
@@ -15,8 +15,8 @@
 	
 	<!-- commit info -->
 	<table class="plain">
-		<tr><th><wicket:message key="gb.object">object</wicket:message></th><td><span class="sha1" wicket:id="tagId">[tag id]</span></td></tr>
-		<tr><th><wicket:message key="gb.author">author</wicket:message></th><td><span wicket:id="tagAuthor">[tag author]</span></td></tr>
+		<tr><th><wicket:message key="gb.object">[object]</wicket:message></th><td><span class="sha1" wicket:id="tagId">[tag id]</span></td></tr>
+		<tr><th><wicket:message key="gb.tagger">[tagger]</wicket:message></th><td><span wicket:id="tagAuthor">[tag author]</span></td></tr>
 		<tr><th></th><td><span wicket:id="tagDate">[tag date]</span></td></tr>
 	</table>
 	

--
Gitblit v1.9.1