%inherit file="/base/index.html" /> <%def name="heading()">
View information about current speakers. Alterations to the list of speakers will immediately affect the searching and adding of Forms, Files and Collections.
% if 'user_role' in session: Add % endif % if c.speakers:Name | Dialect | ID |
${speaker.lastName}, ${speaker.firstName} | ${speaker.dialect} | ${speaker.id} |
View information about current users. Click on the user's name to see their personal page. Click on your own name to view and edit your personal page.
Users with the role 'administrator' or 'contributor' can view and alter data. Users with the role 'viewer' can only view data.
% if 'user_role' in session and session['user_role'] == 'administrator': Add % endif ${self.displayUsers(c.users)} <%def name="displayUsers(users)">Name | Affiliation | ID | Role |
${user.lastName}, ${user.firstName} % if 'user_id' in session and user.id == session['user_id']: (me) % endif | ${user.affiliation} | ${user.id} | ${user.role} |