Skip to content

Legal

a11y()

Redirect to the Museum's accessibility statement page.

Source code in ckanext/nhm/routes/legal.py
21
22
23
24
25
26
27
28
@blueprint.route('/accessibility')
def a11y():
    """
    Redirect to the Museum's accessibility statement page.
    """
    return toolkit.redirect_to(
        'https://www.nhm.ac.uk/about-us/website-accessibility-statement.html'
    )

aohc()

Render the Acknowledgement of harmful content statement page.

Source code in ckanext/nhm/routes/legal.py
39
40
41
42
43
44
45
46
@blueprint.route('/harmful-content')
def aohc():
    """
    Render the Acknowledgement of harmful content statement page.
    """
    return toolkit.render(
        'legal/aohc.html', {'title': 'Acknowledgement of harmful content'}
    )

privacy()

Redirect to the Museum's privacy notice page.

Source code in ckanext/nhm/routes/legal.py
13
14
15
16
17
18
@blueprint.route('/privacy')
def privacy():
    """
    Redirect to the Museum's privacy notice page.
    """
    return toolkit.redirect_to('https://www.nhm.ac.uk/about-us/privacy-notice.html')

terms()

Render the terms and conditions page.

Source code in ckanext/nhm/routes/legal.py
31
32
33
34
35
36
@blueprint.route('/terms-conditions')
def terms():
    """
    Render the terms and conditions page.
    """
    return toolkit.render('legal/terms.html', {'title': 'Terms and conditions'})

usc()

Redirect to the Museum's "Understanding and sharing the collection" page.

Source code in ckanext/nhm/routes/legal.py
49
50
51
52
53
54
55
56
@blueprint.route('/understanding-the-collection')
def usc():
    """
    Redirect to the Museum's "Understanding and sharing the collection" page.
    """
    return toolkit.redirect_to(
        'https://www.nhm.ac.uk/about-us/governance/understanding-and-sharing-the-collection.html'
    )