From 5707529d8056238ba42e16f55b23b15a5e8c4d9b Mon Sep 17 00:00:00 2001 From: Iain Patterson Date: Mon, 13 May 2013 04:43:08 -0400 Subject: [PATCH] Order history formatting. Use a paragraph with the history class to format the order history. --- lib/order.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/order.php b/lib/order.php index e9aaeda..95d96bb 100644 --- a/lib/order.php +++ b/lib/order.php @@ -532,6 +532,7 @@ if (! count($order_states)) return; echo "

Order history

\n"; + echo "

\n"; foreach ($order_states as $order_state) { $date = $order_state->getUpdated(); @@ -552,10 +553,11 @@ } } #$state = $states[$order_state->getState()]; - echo "

$username changed order to state $state"; + echo "$username changed order to state $state"; if ($driver) echo " for driver " . $driver->getDisplayname(); - echo " on $date.

\n"; + echo " on $date.
\n"; } + echo "

\n"; } function show_order(&$id = null) { -- 2.20.1