def profile(user_hash): data = get_account(user_hash) if not data: abort(404) return render_template( 'profil.html', profile=data )
def workshop_detail(workshop_hash): workshop = get_workshop(workshop_hash) if not workshop: abort(404) author = get_account(workshop['user']) return render_template('workshop_detail.html', workshop=workshop, author=author)
def profile(user_hash): data = get_account(user_hash) if not data: abort(404) return render_template( 'profil.html', user=check_auth(), menu=menu(), profile=data )
def talk_detail(talk_hash): talk = get_talk(talk_hash) if not talk: abort(404) author = get_account(talk['user']) return render_template('talk_detail.html', talk=talk, author=author, user=check_auth())
def talk_detail(talk_hash): talk = get_talk(talk_hash) if not talk: abort(404) author = get_account(talk['user']) return render_template( 'talk_detail.html', talk=talk, author=author, user=check_auth())
def workshop_detail(workshop_hash): workshop = get_workshop(workshop_hash) if not workshop: abort(404) author = get_account(workshop['user']) return render_template( 'workshop_detail.html', workshop=workshop, author=author )
def talk_detail(talk_hash): talk = get_talk(talk_hash) if not talk: abort(404) author = get_account(talk['user']) user = check_auth() user_hash = None if user: user_hash = user['user_hash'] return render_template('talk_detail.html', talk=talk, user_votes=get_user_votes(user_hash), author=author)
def talk_detail(talk_hash): talk = get_talk(talk_hash) if not talk: abort(404) author = get_account(talk['user']) user = check_auth() user_hash = None if user: user_hash = user['user_hash'] return render_template( 'talk_detail.html', talk=talk, user_votes=get_user_votes(user_hash), author=author )
def profile(user_hash): data = get_account(user_hash) if not data: abort(404) return render_template('profil.html', profile=data)