Changes between Version 14 and Version 15 of ReleaseManagement


Ignore:
Timestamp:
01/22/10 08:11:40 (12 years ago)
Author:
Fran Boon
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ReleaseManagement

    v14 v15  
    154154   * migrate = False
    155155   * db = DAL('mysql://haitidev:password@localhost/haitidev', pool_size=10)
     156  * models/01_modules.py
     157{{{
     158s3.menu_modules.append([T('Home'), False, URL(r=request, c='default', f='open_module', vars=dict(id=1))])
     159if auth.has_membership(1):
     160    s3.menu_modules.append([T('Admin'), False, URL(r=request, c='default', f='open_module', vars=dict(id=2))])
     161s3.menu_modules.append([T('Mapping'), False, URL(r=request, c='default', f='open_module', vars=dict(id=3))])
     162module_id = db(db.s3_module.name == 'or').select()[0].id
     163s3.menu_modules.append([T('Organizations'), False, URL(r=request, c='default', f='open_module', vars=dict(id=module_id))])
     164module_id = db(db.s3_module.name == 'hms').select()[0].id
     165s3.menu_modules.append([T('Hospitals'), False, URL(r=request, c='default', f='open_module', vars=dict(id=module_id))])
     166s3.menu_modules.append([T('People'), False, URL(r=request, c='default', f='open_module', vars=dict(id=4))])
     167#dvi_group = db(db[auth.settings.table_group_name] == 'DVI').select()[0].id
     168#if auth.has_membership(dvi_group):
     169module_id = db(db.s3_module.name == 'dvi').select()[0].id
     170s3.menu_modules.append([T('Victims'), False, URL(r=request, c='default', f='open_module', vars=dict(id=module_id))])
     171module_id = db(db.s3_module.name == 'rms').select()[0].id
     172s3.menu_modules.append([T('Requests'), False, URL(r=request, c='default', f='open_module', vars=dict(id=module_id))])
     173module_id = db(db.s3_module.name == 'vol').select()[0].id
     174s3.menu_modules.append([T('Volunteers'), False, URL(r=request, c='default', f='open_module', vars=dict(id=module_id))])
     175}}}
    156176  * models/00_settings.py
    157177   * S3_PUBLIC_URL = 'http://haiti-dev.sahanafoundation.org'