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

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

revision 29 by dpavlin, Mon Dec 10 15:16:52 2007 UTC revision 67 by dpavlin, Tue Apr 8 23:22:22 2008 UTC
# Line 29  template 'list' => sub { Line 29  template 'list' => sub {
29          my $fragment_for_new_item = get('fragment_for_new_item') || $self->fragment_for('new_item');          my $fragment_for_new_item = get('fragment_for_new_item') || $self->fragment_for('new_item');
30      my $collection =  $self->_current_collection();      my $collection =  $self->_current_collection();
31          # XXX show just materials from current unit          # XXX show just materials from current unit
32          $collection->limit( column => 'unit', value => $unit ) if $unit;          $collection->limit( column => 'unit', value => $unit );
33      div {      div {
34                  { class is 'materials' };                  { class is 'materials' };
35    

Legend:
Removed from v.29  
changed lines
  Added in v.67

  ViewVC Help
Powered by ViewVC 1.1.26