mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-09-18 21:50:56 +00:00
Showing user agent in social pages.
This commit is contained in:
parent
0fd9753bfb
commit
a983d1afe5
1 changed files with 3 additions and 2 deletions
|
@ -482,8 +482,9 @@ def load_social_page(request, user_id, username=None, **kwargs):
|
|||
'social_services': social_services,
|
||||
}
|
||||
|
||||
logging.user(request, "~FYLoading ~FMsocial ~SBpage~SN~FY: ~SB%s%s" % (
|
||||
social_profile.title[:22], ('~SN/p%s' % page) if page > 1 else ''))
|
||||
logging.user(request, "~FYLoading ~FMsocial page~FY: ~SB%s%s ~FB%s" % (
|
||||
social_profile.title[:22], ('~SN/p%s' % page) if page > 1 else '',
|
||||
request.META.get('HTTP_USER_AGENT', "")[:40]))
|
||||
if format == 'html':
|
||||
template = 'social/social_stories.xhtml'
|
||||
else:
|
||||
|
|
Loading…
Add table
Reference in a new issue