Exemplo n.º 1
0
def page_display(ctx):
    if not page_common.send_download(ctx):
        form_meta = ctx.locals.form_meta
        if ctx.locals.mode == 'edit':
            ctx.locals.vers_select = form_meta.version
        ctx.locals.used_by = form_meta.used_by(globals.db)
        ctx.locals.form_disabled = True
        ctx.run_template('admin_form_edit.html')
def page_display(ctx):
    if not page_common.send_download(ctx):
        form_meta = ctx.locals.form_meta
        if ctx.locals.mode == 'edit':
            ctx.locals.vers_select = form_meta.version
        ctx.locals.used_by = form_meta.used_by(globals.db)
        ctx.locals.form_disabled = True
        ctx.run_template('admin_form_edit.html')
Exemplo n.º 3
0
def page_display(ctx):
    if not page_common.send_download(ctx):
        ctx.run_template('report_edit.html')
Exemplo n.º 4
0
def page_display(ctx):
    if not page_common.send_download(ctx):
        ctx.run_template('dataimp.html')
Exemplo n.º 5
0
def page_display(ctx):
    if not page_common.send_download(ctx):
        ctx.run_template('user_browser.html')
Exemplo n.º 6
0
def page_display(ctx):
    if not page_common.send_download(ctx):
        ctx.run_template('user_browser.html')
Exemplo n.º 7
0
def page_display(ctx):
    if not page_common.send_download(ctx):
        ctx.run_template('report_edit.html')
Exemplo n.º 8
0
def page_display(ctx):
    if not page_common.send_download(ctx):
        ctx.run_template('dataimp.html')