Changeset 8441 for main/waeup.uniben/trunk
- Timestamp:
- 14 May 2012, 07:55:00 (13 years ago)
- Location:
- main/waeup.uniben/trunk/src/waeup/uniben
- Files:
-
- 15 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.uniben/trunk/src/waeup/uniben/applicants/browser_templates/payment_view.pt
r8247 r8441 1 <table class="form-table" i18n:domain="waeup. uniben"1 <table class="form-table" i18n:domain="waeup.custom" 2 2 tal:define="files provider:files"> 3 3 <tbody> -
main/waeup.uniben/trunk/src/waeup/uniben/applicants/export.py
r8378 r8441 24 24 25 25 class CustomApplicantsExporter(ApplicantsExporter): 26 """Exporter for UnibenApplicants.26 """Exporter for Custom Applicants. 27 27 """ 28 28 -
main/waeup.uniben/trunk/src/waeup/uniben/browser/resources.py
r8066 r8441 21 21 ) 22 22 23 #: All local resources are registered under the name ``waeup_ custom``.23 #: All local resources are registered under the name ``waeup_uniben``. 24 24 waeup_uniben = Library('waeup_uniben', 'static') 25 25 26 custom_theme _1= ResourceInclusion(27 waeup_uniben, 'custom_theme _1.css',26 custom_theme = ResourceInclusion( 27 waeup_uniben, 'custom_theme.css', 28 28 depends = [waeup_base_css]) 29 29 -
main/waeup.uniben/trunk/src/waeup/uniben/browser/tests.py
r8206 r8441 52 52 self.browser.addHeader('Authorization', 'Basic mgr:mgrpw') 53 53 self.browser.open('http://localhost/app/configuration') 54 self.assertMatches('... Custom Theme 1...', self.browser.contents)55 self.browser.getControl(name="form.skin").value = ['custom theme 1']54 self.assertMatches('...Uniben Theme...', self.browser.contents) 55 self.browser.getControl(name="form.skin").value = ['custom theme'] 56 56 self.browser.getControl("Save").click() 57 57 self.browser.open('http://localhost/app/configuration') -
main/waeup.uniben/trunk/src/waeup/uniben/browser/theming.py
r8088 r8441 18 18 import grok 19 19 from waeup.kofa.browser.interfaces import ITheme 20 from waeup.uniben.browser.resources import custom_theme _1, favicon20 from waeup.uniben.browser.resources import custom_theme, favicon 21 21 22 22 from waeup.uniben.interfaces import MessageFactory as _ 23 23 24 class CustomTheme 1(grok.GlobalUtility):24 class CustomTheme(grok.GlobalUtility): 25 25 """A custom theme based on the Kofa base theme. 26 26 """ 27 27 grok.implements(ITheme) 28 grok.name('custom theme 1')28 grok.name('custom theme') 29 29 30 description = _(u' Custom Theme 1')30 description = _(u'Uniben Theme') 31 31 32 32 def getResources(self): 33 return [custom_theme _1, favicon]33 return [custom_theme, favicon] -
main/waeup.uniben/trunk/src/waeup/uniben/etranzact/browser_templates/enterpin.pt
r8020 r8441 1 1 <form tal:attributes="action view/action" 2 method="POST" i18n:domain="waeup. uniben">2 method="POST" i18n:domain="waeup.custom"> 3 3 <table class="form-table"> 4 4 <tbody> -
main/waeup.uniben/trunk/src/waeup/uniben/ftesting.zcml
r8020 r8441 2 2 xmlns="http://namespaces.zope.org/zope" 3 3 xmlns:kofa="http://namespaces.waeup.org/kofa" 4 i18n_domain="waeup. uniben"4 i18n_domain="waeup.custom" 5 5 package="waeup.uniben" 6 6 > -
main/waeup.uniben/trunk/src/waeup/uniben/interfaces.py
r8294 r8441 23 23 from waeup.uniben.utils.lgas import LGAS 24 24 25 _ = MessageFactory = zope.i18nmessageid.MessageFactory('waeup. uniben')25 _ = MessageFactory = zope.i18nmessageid.MessageFactory('waeup.custom') 26 26 27 27 high_qual = SimpleKofaVocabulary( … … 104 104 ) 105 105 106 # Additional fees in waeup.uniben106 # Additional fees in custom package 107 107 108 108 maint_fee = schema.Float( -
main/waeup.uniben/trunk/src/waeup/uniben/interswitch/browser_templates/applicant_goto_interswitch.pt
r8276 r8441 1 <form i18n:domain="waeup. uniben"1 <form i18n:domain="waeup.custom" 2 2 tal:attributes="action view/action" method="POST"> 3 3 -
main/waeup.uniben/trunk/src/waeup/uniben/interswitch/browser_templates/student_goto_interswitch.pt
r8276 r8441 1 <form i18n:domain="waeup. uniben"1 <form i18n:domain="waeup.custom" 2 2 tal:attributes="action view/action" method="POST"> 3 3 -
main/waeup.uniben/trunk/src/waeup/uniben/permissions.py
r8401 r8441 20 20 21 21 class CRPUOfficer(grok.Role): 22 """ Permissions of Uniben CRPU members. 23 24 """ 25 22 26 grok.name('waeup.CRPUOfficer') 23 27 grok.title(u'Uniben CRPU Officer') -
main/waeup.uniben/trunk/src/waeup/uniben/students/browser_templates/payment_view.pt
r8247 r8441 1 <table class="form-table" i18n:domain="waeup. uniben"1 <table class="form-table" i18n:domain="waeup.custom" 2 2 tal:define="files provider:files"> 3 3 <tbody> -
main/waeup.uniben/trunk/src/waeup/uniben/students/interfaces.py
r8430 r8441 337 337 ) 338 338 339 uniben_matric = schema.TextLine(339 former_matric = schema.TextLine( 340 340 title = _(u'If yes, matric number'), 341 341 required = False, -
main/waeup.uniben/trunk/src/waeup/uniben/students/utils.py
r8430 r8441 130 130 } 131 131 132 # Uniben separators 132 133 SEPARATORS_DICT = { 133 134 'form.fst_sit_fname': _(u'First Sitting Record'), … … 138 139 'form.nysc_year': _(u'NYSC Information'), 139 140 'form.employer': _(u'Employment History'), 140 'form. uniben_matric': _(u'Former Uniben Student'),141 'form.former_matric': _(u'Former Uniben Student'), 141 142 } 142 143 144 # Uniben prefix 143 145 STUDENT_ID_PREFIX = u'B' -
main/waeup.uniben/trunk/src/waeup/uniben/testing.py
r8020 r8441 16 16 ## Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 17 17 ## 18 """Testing support for :mod:`waeup.uniben`.18 """Testing support for custom package. 19 19 """ 20 20 import os.path
Note: See TracChangeset for help on using the changeset viewer.