From abdc3f89bb9f9a0565ee4a226e30e71ef9085b9a Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Mon, 1 Aug 2005 21:22:59 +0000 Subject: [PATCH] r334: Styled bug history page --- showhistory.php | 2 +- templates/history.tpl | 5 ++++ templates/history_group.tpl | 47 ++++++++++++++++++------------------- 3 files changed, 29 insertions(+), 25 deletions(-) diff --git a/showhistory.php b/showhistory.php index e625d71..1fcf96a 100644 --- a/showhistory.php +++ b/showhistory.php @@ -99,7 +99,7 @@ foreach ($logs AS $dateline => $logitems) } } - $log['messages'] = implode("\n
", $messages); + $log['messages'] = implode("
\n", $messages); eval('$history .= "' . $template->fetch('history_group') . '";'); } diff --git a/templates/history.tpl b/templates/history.tpl index bf26689..083f9d6 100644 --- a/templates/history.tpl +++ b/templates/history.tpl @@ -1,5 +1,10 @@ $doctype + + $headinclude + Bug History - $bug[summary] + + $header

History for $bug[summary] (bugid: $bug[bugid])

diff --git a/templates/history_group.tpl b/templates/history_group.tpl index 4db4e6c..9c1c6c5 100644 --- a/templates/history_group.tpl +++ b/templates/history_group.tpl @@ -1,26 +1,25 @@ - - - - - - - - - - - - - $changes - -
- $log[date] - History Entry (entryid: $log[historyid]) -
- $log[user] - Bug #$log[bugid] -
-
Changes
FieldInitialFinal
-
$log[messages]
-
No logged changes
+
+
+ $log[date] + $log[user] +
+
+ $log[messages] + + + + + + + + + + +$changes +
FieldOld ValueNew Value
+
+
+
+
-- 2.43.5