X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/9a938c8b406ce05e3bca4a5a483d473ece9e17b0..5aa13410812d3fc4b35c039bdc3f0a2edc5185a1:/src/picture/views.py?ds=inline diff --git a/src/picture/views.py b/src/picture/views.py index 5de38b257..6ace13427 100644 --- a/src/picture/views.py +++ b/src/picture/views.py @@ -53,6 +53,7 @@ def picture_detail(request, slug): 'picture': picture, 'themes': theme_things.get('theme', []), 'things': theme_things.get('thing', []), + 'active_menu_item': 'gallery', }, context_instance=RequestContext(request)) @@ -140,10 +141,7 @@ def picture_short(request, pk): return render(request, 'picture/picture_short.html', { 'picture': picture, - 'main_link': picture.get_absolute_url(), - 'request': request, - 'tags': split_tags(picture.tags), - }) + }) @ssi_included