~schooltool-owners/schooltool.isli/packaging

« back to all changes in this revision

Viewing changes to src/schooltool/isli/browser/report.py

  • Committer: Douglas Cerna
  • Date: 2015-08-17 23:00:50 UTC
  • mfrom: (19.1.21 schooltool.isli)
  • Revision ID: douglascerna@yahoo.com-20150817230050-t8m6ws4jkvyudved
New release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
829
829
 
830
830
    @Lazy
831
831
    def columns(self):
832
 
        result = []
 
832
        result = [ReportColumn(
 
833
            name='username',
 
834
            title=STMessage('Username'),
 
835
            getter=self.get_person_detail('username')
 
836
        )]
833
837
        fields = ['gender', 'birth_date']
834
838
        for name in fields:
835
839
            result.append(ReportColumn(