[Bps-public-commit] smokingit branch, master, updated. 38f339fc1d264f0fd44367251a3b8f61722d87f6
Shawn Moore
sartak at bestpractical.com
Tue Mar 8 15:44:20 EST 2011
The branch, master has been updated
via 38f339fc1d264f0fd44367251a3b8f61722d87f6 (commit)
from 8bd595caddcb09118ef93f02df593972fa3b6f16 (commit)
Summary of changes:
lib/Smokingit/View/Branch.pm | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
- Log -----------------------------------------------------------------
commit 38f339fc1d264f0fd44367251a3b8f61722d87f6
Author: Shawn M Moore <sartak at bestpractical.com>
Date: Tue Mar 8 15:44:12 2011 -0500
Make the project name in branch view a link
diff --git a/lib/Smokingit/View/Branch.pm b/lib/Smokingit/View/Branch.pm
index f0744ab..6a8c8ea 100644
--- a/lib/Smokingit/View/Branch.pm
+++ b/lib/Smokingit/View/Branch.pm
@@ -8,7 +8,13 @@ template '/branch' => page {
my $b = get('branch');
redirect '/' unless $b;
page_title is $b->name;
- div {{class is "subtitle"} $b->project->name };
+ div {
+ { class is "subtitle" }
+ hyperlink(
+ label => $b->project->name,
+ url => "/project/".$b->project->name."/",
+ );
+ };
render_region(
name => "properties",
-----------------------------------------------------------------------
More information about the Bps-public-commit
mailing list