From 870a78a295a1bcba4ab8e4d509779c8ac07712e2 Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Sun, 11 Sep 2005 00:32:13 +0000 Subject: [PATCH] Styling blame system --- blame.php | 1 + templates/default/blame.tpl | 7 ++----- templates/default/blame_line.tpl | 10 +++++----- 3 files changed, 8 insertions(+), 10 deletions(-) diff --git a/blame.php b/blame.php index ca8c6f0..8e1d087 100644 --- a/blame.php +++ b/blame.php @@ -44,6 +44,7 @@ $lines = ''; foreach ($blame->fetch() AS $entry) { + $entry['view_link'] = $viewsvn->paths->out('view.php' . $viewsvn->paths->fetch_rev_str(false, $entry['rev']), $path); $entry['line_clean'] = $viewsvn->svn->format($entry['line']); eval('$lines .= "' . $template->fetch('blame_line') . '";'); } diff --git a/templates/default/blame.tpl b/templates/default/blame.tpl index 5fd1f40..6538707 100644 --- a/templates/default/blame.tpl +++ b/templates/default/blame.tpl @@ -7,10 +7,6 @@ $headinclude $header -$navbar - -
- View Log @@ -22,7 +18,8 @@ $navbar - Diff to PREV - +
$navbar
+
$lines
diff --git a/templates/default/blame_line.tpl b/templates/default/blame_line.tpl index 0400e1e..e22df99 100644 --- a/templates/default/blame_line.tpl +++ b/templates/default/blame_line.tpl @@ -1,5 +1,5 @@ - - $entry[rev] - $entry[author] - $entry[line_clean] - + + $entry[rev] + $entry[author] + $entry[line_clean] + \ No newline at end of file -- 2.43.5