示例#1
0
def ext(ext):
    return _base((_ext(
        ext
    ), L.p('.description') / _nl2br(ext['full_description']), L.small / (L.a(
        '.removal-request',
        href='mailto:[email protected]?subject=Extension removal request&body='
        + str(ext.get('ext_id'))) / 'request removal from the archive', ),
                  L.hr, L.pre('.pprint') /
                  json.dumps(ext, indent=2, sort_keys=True)),
                 title_prefix=ext['name'] + ' - ')
def ext(ext):
    return _base((
        _ext(ext),
        L.p('.description') / _nl2br(ext['full_description']),
        L.small / (
            'Are you the owner of the extension ?',
            L.a('.removal-request', href='mailto:[email protected]?subject=Extension removal request&body=' + str(ext.get('ext_id')) + '%0A%0A%0Aproof you are the owner of this extension:') / 'request removal from crx.dam.io',
        ),
        L.hr,
        L.pre('.pprint') / json.dumps(ext, indent=2, sort_keys=True)
    ), title_prefix=ext['name']+ ' - ')
def ext(ext):
    return _base((
        _ext(ext),
        L.p('.description') / _nl2br(ext['full_description']),
        L.small / (
            'Are you the owner of the extension ?',
            L.a('.removal-request', href='mailto:[email protected]?subject=crx.dam.io - Contact as owner&body=' + str(ext.get('ext_id')) + '%0A%0A%0Aproof you are the owner of this extension (own an email related to the extension / dashboard screenshot):') / 'Contact as owner',
        ),
        L.hr,
        L.pre('.pprint') / json.dumps(ext, indent=2, sort_keys=True)
    ), title_prefix=ext['name']+ ' - ')
def ext(ext):
    return _base((
        _ext(ext),
        L.p('.description') / _nl2br(ext['full_description']),
        L.small / (
            'Are you the owner of the extension ?',
            L.a('.removal-request', href='mailto:[email protected]?subject=Extension removal request&body=' + str(ext.get('ext_id')) + '%0A%0A%0Aproof you are the owner of this extension:') / 'request removal from crx.dam.io',
        ),
        L.hr,
        L.pre('.pprint') / json.dumps(ext, indent=2, sort_keys=True)
    ), title_prefix=ext['name']+ ' - ')
def ext(ext):
    return _base((_ext(
        ext
    ), L.p('.description') / _nl2br(ext['full_description']), L.small / (
        'Are you the owner of the extension ?',
        L.
        a('.removal-request',
          href=
          'mailto:[email protected]?subject=crx.dam.io - Contact as owner&body='
          + str(ext.get('ext_id')) +
          '%0A%0A%0Aproof you are the owner of this extension (own an email related to the extension / dashboard screenshot):'
          ) / 'Contact as owner',
    ), L.hr, L.pre('.pprint') / json.dumps(ext, indent=2, sort_keys=True)),
                 title_prefix=ext['name'] + ' - ')
def ext(ext):
    return _base(
        (_ext(ext), L.p('.description') / _nl2br(ext['full_description']),
         L.hr, L.pre('.pprint') / json.dumps(ext, indent=2, sort_keys=True)),
        title_prefix=ext['name'])