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

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

revision 50 by dpavlin, Sun Apr 6 18:17:42 2008 UTC revision 51 by dpavlin, Sun Apr 6 18:31:14 2008 UTC
# Line 77  template 'view' => sub :CRUDView { Line 77  template 'view' => sub :CRUDView {
77                                  },                                  },
78                          ));                          ));
79                  };                  };
80                  img { attr { src => "/raw_pic?image=" . $record->filename } }                  img { attr { src => "/pictures/show/" . $record->filename } }
81                  tt{ $record->filename }                  tt{ $record->filename }
82          };          };
83    
# Line 112  template 'new_picture' => sub { Line 112  template 'new_picture' => sub {
112                                  {                                  {
113                                          submit => $create,                                          submit => $create,
114                                          args => {                                          args => {
                                                 picture => { result_of => $picture, name => 'id' },  
115                                                  unit => $unit,                                                  unit => $unit,
116                                          }                                          }
117                                  },                                  },

Legend:
Removed from v.50  
changed lines
  Added in v.51

  ViewVC Help
Powered by ViewVC 1.1.26