Add "view profile" helper for all person-related views

This commit is contained in:
Lance Edgar 2019-04-12 15:03:26 -05:00
parent 97345c9710
commit 80158ffa95
5 changed files with 51 additions and 0 deletions

View file

@ -1,5 +1,6 @@
## -*- coding: utf-8; -*-
<%inherit file="/master/view.mako" />
<%namespace file="/util.mako" import="view_profiles_helper" />
<%def name="extra_javascript()">
${parent.extra_javascript()}
@ -18,4 +19,9 @@
% endif
</%def>
<%def name="object_helpers()">
${parent.object_helpers()}
${view_profiles_helper(instance.people)}
</%def>
${parent.body()}