Add basic Buefy support for full "profile" view for Person
This commit is contained in:
parent
ff9554adc1
commit
4c4cefde6d
2 changed files with 416 additions and 1 deletions
|
@ -240,7 +240,9 @@ class PeopleView(MasterView):
|
|||
'employee': employee,
|
||||
'employee_history': employee.get_current_history() if employee else None,
|
||||
}
|
||||
return self.render_to_response('view_profile', context)
|
||||
use_buefy = self.get_use_buefy()
|
||||
template = 'view_profile_buefy' if use_buefy else 'view_profile'
|
||||
return self.render_to_response(template, context)
|
||||
|
||||
def make_user(self):
|
||||
uuid = self.request.POST['person_uuid']
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue