/[SVNBrowser]/trunk/share/web/templates/list
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /trunk/share/web/templates/list

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 34 by dpavlin, Sun Dec 10 19:00:33 2006 UTC revision 39 by dpavlin, Sun Dec 17 15:05:20 2006 UTC
# Line 1  Line 1 
1  <%args>  <%args>
2    $filter
3    $next
4  </%args>  </%args>
5    
6  <%init>  <%init>
 my $filter = Jifty->web->new_action(  
         class => 'Filter',  
         moniker => 'filter_list',  
 );  
   
7  </%init>  </%init>
8    
9  <&| /_elements/wrapper, title => "SVN Reporitory Browser" &>  <&| /_elements/wrapper, title => "SVN Reporitory Browser" &>
# Line 26  my $filter = Jifty->web->new_action( Line 23  my $filter = Jifty->web->new_action(
23    
24  <div style="clear: left">  <div style="clear: left">
25  <% $filter->button( label => 'Filter commits' ) %>  <% $filter->button( label => 'Filter commits' ) %>
   
 <%perl>  
 </%perl>  
26  </div>  </div>
27    
28  % if ( $filter->result and my $revisions = $filter->result->content('revisions') ) {  % if ( $filter->result and my $revisions = $filter->result->content('revisions') ) {
# Line 39  my $filter = Jifty->web->new_action( Line 33  my $filter = Jifty->web->new_action(
33          <dt><% Jifty->web->tangent(          <dt><% Jifty->web->tangent(
34                  url => '/rev/' . $r->revision,                  url => '/rev/' . $r->revision,
35                  label => $r->revision,                  label => $r->revision,
36                    continuation => $next,
37          ) %>          ) %>
38          <span class="author"><% $r->author %></span>          <span class="author"><% $r->author %></span>
39          <span class="commit_date"><% $r->commit_date %></span>          <span class="commit_date"><% $r->commit_date %></span>
# Line 52  my $filter = Jifty->web->new_action( Line 47  my $filter = Jifty->web->new_action(
47  %               while (my $a = $actions->next) {  %               while (my $a = $actions->next) {
48  %                       my $full_path = $a->branch . $a->rel_path ;  %                       my $full_path = $a->branch . $a->rel_path ;
49                          <li><tt class="action-<% $a->type %>"><% $a->type %> <% $full_path %>                          <li><tt class="action-<% $a->type %>"><% $a->type %> <% $full_path %>
50                          <% Jifty->web->tangent( url => '/rev/' . $r->revision . $full_path, label => 'diff' ) %>                          <% Jifty->web->tangent( url => '/rev/' . $r->revision . $full_path, label => 'diff', continuation => $next ) %>
51                          </tt></li>                          </tt></li>
52  %               }  %               }
53                  </ul>                  </ul>

Legend:
Removed from v.34  
changed lines
  Added in v.39

  ViewVC Help
Powered by ViewVC 1.1.26