view src/pages/login/logged/page_meta.py @ 990:6daa59d44ee2

pages: menu implementation, first draft: menu can now be specified in sat.conf using menu_json setting and using pages' names. A default menu is set in constants, with only login and blog pages for now.
author Goffi <goffi@goffi.org>
date Fri, 01 Dec 2017 00:02:34 +0100
parents 2932170bb526
children b92b06f023cb
line wrap: on
line source

#!/usr/bin/env python2.7
# -*- coding: utf-8 -*-

from sat.core.log import getLogger
log = getLogger('pages/login')

"""SàT log-in page, with link to create an account"""

template = u"login/logged.html"


def prepare_render(self, request):
    request.template_data['profile'] = self.getProfile(request)