Development
This commit is contained in:
parent
c30ba58e8f
commit
9e87212f4f
3 changed files with 2 additions and 4 deletions
|
|
@ -6,7 +6,7 @@ import config_utils
|
|||
|
||||
def collect_tokens(cfg):
|
||||
tokens = config_utils.collect_layout_tokens(cfg)
|
||||
blank = [{'value': '', 'label': '-- Select timezone --'}]
|
||||
blank = [{'value': '', 'label': '-- Select Timezone --'}]
|
||||
tokens['PREF_EMAIL'] = session.get('email_address', '')
|
||||
tokens['PREF_TIMEZONE'] = ''
|
||||
tokens['TIMEZONE_OPTIONS'] = json.dumps(blank + [{'value': tz, 'label': tz} for tz in sanitize.VALID_TIMEZONES])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue