[Bps-public-commit] SD branch, master, updated. 0.73-29-g16d6a20

jesse jesse at bestpractical.com
Thu Nov 19 16:51:07 EST 2009


The branch, master has been updated
       via  16d6a203b56c6e95ba22c03841c08def34eb84b8 (commit)
      from  0cf0f4946332eed4c8d275930826b7027c07464e (commit)

Summary of changes:
 lib/App/SD/Server/View.pm |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

- Log -----------------------------------------------------------------
commit 16d6a203b56c6e95ba22c03841c08def34eb84b8
Author: Jesse Vincent <jesse at bestpractical.com>
Date:   Thu Nov 19 16:51:02 2009 -0500

    ticket link fixes

diff --git a/lib/App/SD/Server/View.pm b/lib/App/SD/Server/View.pm
index d485f50..26dee44 100644
--- a/lib/App/SD/Server/View.pm
+++ b/lib/App/SD/Server/View.pm
@@ -413,12 +413,12 @@ private template 'ticket_list' => sub {
         tbody {
             for my $ticket (@$tickets) {
                 row {
-                    cell { class is 'id'; ticket_link( $ticket => $ticket->luid ); };
+                    cell { class is 'id'; $self->ticket_link( $ticket => $ticket->luid ); };
                     for (qw|status milestone component owner reporter due created|) {
                     
                         cell { class is $_; $ticket->prop($_) };
                     }
-                    cell { class is 'summary'; ticket_link( $ticket => $ticket->prop('summary') ); };
+                    cell { class is 'summary'; $self->ticket_link( $ticket => $ticket->prop('summary') ); };
                 }
 
             }
@@ -774,6 +774,7 @@ template ticket_comment => sub {
                 };
 
 sub ticket_link {
+    my $self = shift;
     my $ticket   = shift;
     my $label = shift;
     span {

-----------------------------------------------------------------------



More information about the Bps-public-commit mailing list