active menu item for picture page
authorJan Szejko <jan.szejko@gmail.com>
Wed, 13 Apr 2016 09:48:03 +0000 (11:48 +0200)
committerJan Szejko <jan.szejko@gmail.com>
Wed, 13 Apr 2016 09:48:03 +0000 (11:48 +0200)
src/picture/views.py

index 5de38b2..381866a 100644 (file)
@@ -53,6 +53,7 @@ def picture_detail(request, slug):
         'picture': picture,
         'themes': theme_things.get('theme', []),
         'things': theme_things.get('thing', []),
         'picture': picture,
         'themes': theme_things.get('theme', []),
         'things': theme_things.get('thing', []),
+        'active_menu_item': 'gallery',
     }, context_instance=RequestContext(request))
 
 
     }, context_instance=RequestContext(request))