{{from gluon.contrib.markdown.markdown2 import markdown}} {{extend 'db_layout.html'}}

{{=query.title if query is not None else message}}

{{if query is not None:}}
{{=XML(markdown(query.message_content))}}
{{pass}}
{{if auth.is_admin():}} {{pass}} {{for row in notifications:}} {{if auth.is_admin():}} {{pass}} {{pass}}
Creator Type Priority Title Message Expiration Date
{{=row.creator}} {{=row.message_type}} {{=row.priority}} {{=row.title}} {{=row.message_content}} {{=row.expiration}} e X
{{if auth.is_admin():}} + new notification {{pass}}