Ignore:
Timestamp:
9 May 2012, 22:34:42 (13 years ago)
Author:
Henrik Bettermann
Message:

Implement search page for applicants. Add fullname to applicants_catalog.
Plugins must be updated and /reindex?ctlg=applicants must be performed.

Tests will follow.

Rename ApplicantCatalog? to ApplicantsCatalog?. This does not affect persistent data.

Rename StudentIndexes? to StudentsCatalog?.

Add more localization.

Location:
main/waeup.kofa/trunk/src/waeup/kofa/students
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/src/waeup/kofa/students/browser.py

    r8346 r8404  
    189189                self.searchterm = int(self.searchterm)
    190190            except ValueError:
    191                 self.flash('Only year dates allowed (e.g. 2011).')
     191                self.flash(_('Only year dates allowed (e.g. 2011).'))
    192192                return
    193193        self.hitlist = search(query=self.searchterm,
    194194            searchtype=self.searchtype, view=self)
    195195        if not self.hitlist:
    196             self.flash('No student found.')
     196            self.flash(_('No student found.'))
    197197        return
    198198
  • main/waeup.kofa/trunk/src/waeup/kofa/students/catalog.py

    r8244 r8404  
    3030from waeup.kofa.university.vocabularies import course_levels
    3131
    32 class StudentIndexes(grok.Indexes):
     32class StudentsCatalog(grok.Indexes):
    3333    """A catalog for students.
    3434    """
Note: See TracChangeset for help on using the changeset viewer.