app/soc/views/helper/responses.py
changeset 513 3c1e16637ad7
parent 512 aae25d2b4464
child 534 c31cfbf1a20f
equal deleted inserted replaced
512:aae25d2b4464 513:3c1e16637ad7
   106   context['sign_in'] = users.create_login_url(request.path)
   106   context['sign_in'] = users.create_login_url(request.path)
   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       scope_path=site_settings.logic.DEF_SITE_SETTINGS_SCOPE_PATH,
   112       link_id=site_settings.logic.DEF_SITE_SETTINGS_LINK_ID)
   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