User: sits    
  Date: 08/09/26 20:41:50

  Modified:    template/en/default viewtopiccomments.html.tmpl
               lib/Codestriker/Action ViewTopicComments.pm
               .        CHANGELOG
  Log:
  * Added "Diff" link for each comment on the list comments page so that for
    those reviews which aren't linked to an SCM, it is still possible
    to quickly link back to the coloured topic text.
  
  
  
  Index: viewtopiccomments.html.tmpl
  ===================================================================
  RCS file: 
/cvsroot/codestriker/codestriker/template/en/default/viewtopiccomments.html.tmpl,v
  retrieving revision 1.32
  retrieving revision 1.33
  diff -u -r1.32 -r1.33
  --- viewtopiccomments.html.tmpl       27 Sep 2008 03:28:56 -0000      1.32
  +++ viewtopiccomments.html.tmpl       27 Sep 2008 03:41:49 -0000      1.33
  @@ -116,6 +116,7 @@
        <TD>
            [% IF comment.filename != '' %]
               <A HREF="[% comment.view_file %]">[% comment.filename %][% IF 
comment.fileline != -1 %]:[% comment.fileline %]</A>[% ELSE %]</A> (File 
Level)[% END %]
  +            | <A HREF="[% comment.view_diff %]">Diff</A>
               [% IF allow_repositories != 0 %] | <A HREF="[% 
comment.view_parallel %]">Parallel</A> [% END %]
            [% ELSIF comment.fileline == -1 && comment.filenumber == -1 %]
               Topic Level
  
  
  
  
  
  Index: ViewTopicComments.pm
  ===================================================================
  RCS file: 
/cvsroot/codestriker/codestriker/lib/Codestriker/Action/ViewTopicComments.pm,v
  retrieving revision 1.22
  retrieving revision 1.23
  diff -u -r1.22 -r1.23
  --- ViewTopicComments.pm      6 Sep 2008 00:31:45 -0000       1.22
  +++ ViewTopicComments.pm      27 Sep 2008 03:41:49 -0000      1.23
  @@ -98,8 +98,15 @@
                                             filenumber => 
$comment->{filenumber},
                                             new => $comment->{filenew},
                                             line => $comment->{fileline}, mode 
=> $mode);
  +            my $view_diff_file =
  +              $url_builder->view_url(topicid => $topicid, projectid => 
$projectid,
  +                                     fview => $comment->{filenumber},
  +                                     filenumber => $comment->{filenumber},
  +                                     new => $comment->{filenew},
  +                                     line => $comment->{fileline}, mode => 
$mode);
   
               $comment->{view_file} = "javascript: myOpen('$new_file','CVS')";
  +            $comment->{view_diff} = "javascript: 
myOpen('$view_diff_file','CVS')";
               my $parallel = $new_file;
               $comment->{view_parallel} =
                 "javascript: myOpen('$parallel','CVS')";
  
  
  
  
  
  Index: CHANGELOG
  ===================================================================
  RCS file: /cvsroot/codestriker/codestriker/CHANGELOG,v
  retrieving revision 1.269
  retrieving revision 1.270
  diff -u -r1.269 -r1.270
  --- CHANGELOG 25 Sep 2008 09:11:23 -0000      1.269
  +++ CHANGELOG 27 Sep 2008 03:41:50 -0000      1.270
  @@ -49,7 +49,11 @@
     [EMAIL PROTECTED]
     
   * ScmBug integration now works correctly when deleted files are
  -  present in a Subversion changeset.  
  +  present in a Subversion changeset.
  +
  +* Added "Diff" link for each comment on the list comments page so that for
  +  those reviews which aren't linked to an SCM, it is still possible
  +  to quickly link back to the coloured topic text.
   
   Version 1.9.6
   
  
  
  

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Codestriker-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/codestriker-commits

Reply via email to