def _footer_mobile_links(is_secure):
 platform_name = configuration_helpers.get_value('platform_name', settings.PLATFORM_NAME)
 mobile_links = []
 if settings.FEATURES.get('ENABLE_FOOTER_MOBILE_APP_LINKS'):
  mobile_links = [{'name': 'apple', 'title': _('Download the {platform_name} mobile app from the Apple App Store').format(platform_name=platform_name), 'url': settings.MOBILE_STORE_URLS.get('apple', '#'), 'image': _absolute_url_staticfile(is_secure, 'images/app/app_store_badge_135x40.svg')}, {'name': 'google', 'title': _('Download the {platform_name} mobile app from Google Play').format(platform_name=platform_name), 'url': settings.MOBILE_STORE_URLS.get('google', '#'), 'image': _absolute_url_staticfile(is_secure, 'images/app/google_play_badge_45.png')}]
 return mobile_links

def _footer_mobile_links ( is_secure ) : platform_name = configuration_helpers . get_value ( 'platform_name' , settings . PLATFORM_NAME ) mobile_links = [ ] if settings . FEATURES . get ( 'ENABLE_FOOTER_MOBILE_APP_LINKS' ) : mobile_links = [ { 'name' : 'apple' , 'title' : _ ( 'Download the {platform_name} mobile app from the Apple App Store' ) . format ( platform_name = platform_name ) , 'url' : settings . MOBILE_STORE_URLS . get ( 'apple' , '#' ) , 'image' : _absolute_url_staticfile ( is_secure , 'images/app/app_store_badge_135x40.svg' ) } , { 'name' : 'google' , 'title' : _ ( 'Download the {platform_name} mobile app from Google Play' ) . format ( platform_name = platform_name ) , 'url' : settings . MOBILE_STORE_URLS . get ( 'google' , '#' ) , 'image' : _absolute_url_staticfile ( is_secure , 'images/app/google_play_badge_45.png' ) } ] return mobile_links
return the mobile app store links .