Commit Diff


commit - ee0b2e502f3be1d01835e96bdcd38afed67429f7
commit + 49632cd3b1c81b19229e3a4a523e411d29cd8827
blob - 6a5d354e145ae61a1ae18f8936f735573508bd28
blob + c8f7a859f74578199b84566a25e7a1b31a3717d9
--- gotwebd/files/htdocs/gotwebd/gotweb.css
+++ gotwebd/files/htdocs/gotwebd/gotweb.css
@@ -223,20 +223,6 @@ body {
 	padding-bottom: 2px;
 }
 .header_commit {
-	float: left;
-	width: 72%;
-	padding-top: 2px;
-	padding-bottom: 2px;
-}
-#header_diff_title {
-	clear: left;
-	float: left;
-	width: 6.5em;
-	padding-left: 10px;
-	padding-top: 2px;
-	padding-bottom: 2px;
-}
-#header_diff {
 	float: left;
 	width: 72%;
 	padding-top: 2px;
blob - db75509aef099d948964c7a1a20115f27e7e63ed
blob + 3265456df058f025cd052df66cbffdcff9b45932
--- gotwebd/pages.tmpl
+++ gotwebd/pages.tmpl
@@ -708,18 +708,14 @@ gotweb_render_age(struct template *tp, time_t time, in
 <div id="diff_content">
   <div id="diff_header_wrapper">
     <div id="diff_header">
-      <div id="header_diff_title">Diff:</div>
-      <div id="header_diff">
-        {{ rc->parent_id }}
-        <br />
-        {{ rc->commit_id }}
-      </div>
       <div class="header_commit_title">Commit:</div>
       <div class="header_commit">{{ rc->commit_id }}</div>
-      <div id="header_tree_title">Tree:</div>
-      <div id="header_tree">{{ rc->tree_id }}</div>
-      <div class="header_author_title">Author:</div>
+      <div class="header_author_title">From:</div>
       <div class="header_author">{{ rc->author }}</div>
+      {{ if strcmp(rc->committer, rc->author) != 0 }}
+        <div class="header_author_title">Via:</div>
+        <div class="header_author">{{ rc->committer }}</div>
+      {{ end }}
       <div class="header_age_title">Date:</div>
       <div class="header_age">
         {{ render gotweb_render_age(tp, rc->committer_time, TM_LONG) }}