
{% if show_dummy_data == true %}
    {% set flash_message = 'Your prescription has been processed successfully!' %}
    {% set homepage = {
        'pagedata': {
            'Cross Site Notice': [{
                'Cross Site Notice': {'value': 'New extended opening hours: Monday-Saturday 8AM-8PM'},
                'Enable Notice': {'value': '1'}
            }]
        }
    } %}
{% endif %}

{% if flash_message is not empty %}

    <div id="flashMessage" role="flash_message" class="headerTopBar">

        <div class="wrapper">

            <div class="innerTopBar">

                <ul>

                    <li>
                        <div class="innerItem">
                            {{ flash_message }}
                        </div> <!-- .innerItem -->
                    </li>

                </ul>

            </div> <!-- .innerTopBar -->

        </div> <!-- .wrapper -->

    </div> <!-- .headerTopBar -->

{% elseif homepage.pagedata['Cross Site Notice'][0]['Cross Site Notice']['value'] is not empty and homepage.pagedata['Cross Site Notice'][0]['Enable Notice']['value'] == '1' %}
    <div class="headerTopBar">

        <div class="wrapper">

            <div class="innerTopBar">

                <ul>

                    <li>
                        <div class="innerItem">
                            {{ homepage.pagedata['Cross Site Notice'][0]['Cross Site Notice']['value']  }}
                        </div> <!-- .innerItem -->
                    </li>

                </ul>

            </div> <!-- .innerTopBar -->

        </div> <!-- .wrapper -->

    </div> <!-- .headerTopBar -->
{% endif %}
