/[Arh]/lib/Arh/View.pm
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 /lib/Arh/View.pm

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

revision 55 by dpavlin, Sun Apr 6 21:07:20 2008 UTC revision 59 by dpavlin, Mon Apr 7 09:20:01 2008 UTC
# Line 35  template '/units' => page { Line 35  template '/units' => page {
35  template 'toggle_edit' => sub {  template 'toggle_edit' => sub {
36          my $self = shift;          my $self = shift;
37    
38            # don't show editing for anonymous users
39            return unless $self->current_user->id;
40    
41          my $toggleedit = new_action(          my $toggleedit = new_action(
42                  class => 'ToggleEdit',                  class => 'ToggleEdit',
43  #               moniker => 'toggle-edit',  #               moniker => 'toggle-edit',

Legend:
Removed from v.55  
changed lines
  Added in v.59

  ViewVC Help
Powered by ViewVC 1.1.26