app/soc/views/helper/responses.py
changeset 512 aae25d2b4464
parent 499 d22e4fe8e64b
child 513 3c1e16637ad7
equal deleted inserted replaced
511:52557918ec8f 512:aae25d2b4464
   107   context['sign_out'] = users.create_logout_url(request.path)
   107   context['sign_out'] = users.create_logout_url(request.path)
   108   context['sidebar_menu_items'] = sidebar.SIDEBAR
   108   context['sidebar_menu_items'] = sidebar.SIDEBAR
   109 
   109 
   110   settings = site_settings.logic.getFromFields(
   110   settings = site_settings.logic.getFromFields(
   111       partial_path=site_settings.logic.DEF_SITE_SETTINGS_PARTIAL_PATH,
   111       partial_path=site_settings.logic.DEF_SITE_SETTINGS_PARTIAL_PATH,
   112       link_name=site_settings.logic.DEF_SITE_SETTINGS_LINK_NAME)
   112       link_id=site_settings.logic.DEF_SITE_SETTINGS_LINK_ID)
   113   
   113   
   114   if settings:
   114   if settings:
   115     context['ga_tracking_num'] = settings.ga_tracking_num
   115     context['ga_tracking_num'] = settings.ga_tracking_num
   116   
   116   
   117   return context
   117   return context