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

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

revision 142 by dpavlin, Fri May 30 23:47:29 2008 UTC revision 153 by dpavlin, Sat Jun 14 12:31:35 2008 UTC
# Line 18  use Data::Dump qw/dump/; Line 18  use Data::Dump qw/dump/;
18    
19  template 'index.html' => page {  template 'index.html' => page {
20    
21            title is _('Strix sites');
22    
23          h1 { _('Statistics') }          h1 { _('Statistics') }
24    
25          my $orgs = A3C::Model::StrixSiteCollection->new;          my $orgs = A3C::Model::StrixSiteCollection->new;
# Line 26  template 'index.html' => page { Line 28  template 'index.html' => page {
28          dt { _('Number of Strix sites') }          dt { _('Number of Strix sites') }
29          dd { $orgs->count }          dd { $orgs->count }
30    
31    };
32    
33    template 'name_diff' => page {
34    
35            title is _('Strix sites');
36    
37          my $name_diff = A3C::SQL->new({ query => qq{          my $name_diff = A3C::SQL->new({ query => qq{
38                  select                  select
39                          site,hreduorgurl,                          site,hreduorgurl,

Legend:
Removed from v.142  
changed lines
  Added in v.153

  ViewVC Help
Powered by ViewVC 1.1.26