<%namespace name="util" module="bodhi.server.util"/> <%def name="comment(comment, display_update=True)"> % if comment.user.name == "bodhi":
${util.markup(comment.text) | n}
${util.age(comment.timestamp)}
% else:
${util.markup(comment.text) | n}
% if comment.karma: karma: ${util.karma2html(comment.karma) | n} % endif % if comment.karma_critpath: critpath: ${util.karma2html(comment.karma_critpath) | n} % endif % for feedback in comment.bug_feedback: % if feedback.karma: ${util.bug_link(feedback.bug, short=True) | n}: ${util.karma2html(feedback.karma) | n} % endif % endfor % if comment.testcase_feedback: % for feedback in comment.testcase_feedback: % if feedback.karma: ${util.testcase_link(feedback.testcase, short=True) | n}: ${util.karma2html(feedback.karma) | n} % endif % endfor % endif
% endif <%def name="update(update, display_user=True, display_request=False, display_release=True, display_karma=True)"> ${util.update2html(update) | n} ${util.age(update['date_submitted'], True)} %if display_user: ${update['user']['name']} %endif %if display_release: % if update['release']: ${update['release']['name']} % endif %endif %if display_karma: ${util.karma2html(update['karma']) | n} %endif %if display_request: % if update['request']: ${util.request2html(update['request']) | n} % endif %endif ${util.status2html(update['status']) | n} <%def name="override(override, display_user=True)"> ${override['build']['nvr']} ${util.age(override['submission_date'], True)} %if display_user: ${override['submitter']['name']} %endif % if override['expired_date'] is None: Active % else: Expired % endif <%def name="markdown_help_modal()">