Back

Template Source: bdex/public/snippets/_countries_selection_link.html

{% load i18n %} {% load bdex_tags %} {% if not user.is_authenticated %} <div id="country-menu" class="country_menu"> <!-- public country-menu--> <div class="selected-country-wrapper"> {% if country_code %} <a href="" > <img src="{{ COUNTRIES_FLAG_ICON|get_value:country_code }}"><b>{{ OPERATION_COUNTRY_DICT|get_value:country_code }}</b> </a> {% else %} <a href="" > <img src="{{ COUNTRIES_FLAG_ICON.sg }}"><b>{{ "Singapore" }}</b> </a> {% endif %} </div> <div id="countries-selection-list" class="countries_list"> <div class="countries_list_title"><hr><strong> Top Countries </strong><hr></div> <div class="countries_list_wrapper"> {% for code in COUNTRIES_FLAG_ICON %} <a href="?country_code={{ code }}" name="{{ code }}"> <img src="{{ COUNTRIES_FLAG_ICON|get_value:code }}"> <b>{{ OPERATION_COUNTRY_DICT|get_value:code }}</b> </a> {% endfor %} </div> </div> </div> {% endif %}