From 8e7a692983e52962825bad0b9855d8af4ec581b4 Mon Sep 17 00:00:00 2001 From: Andrew Croce Date: Fri, 21 Sep 2018 14:32:07 -0400 Subject: [PATCH] Use dummy comments --- atst/routes/requests/approval.py | 22 ++++++++++------------ 1 file changed, 10 insertions(+), 12 deletions(-) diff --git a/atst/routes/requests/approval.py b/atst/routes/requests/approval.py index ea9a8c40..ea96585e 100644 --- a/atst/routes/requests/approval.py +++ b/atst/routes/requests/approval.py @@ -31,18 +31,16 @@ def render_approval(request, form=None): internal_comment_form = InternalCommentForm(text=request.internal_comments_text) - # # Dummy internal comments - # comments = [{ - # "time_created": date(2018, 9, 18), - # "full_name_commenter": "Darth Vader", - # "message": "We'll have no more of this Obi-Wan Kenobi jibberish...and don't talk to me about your mission, either. You're fortunate he doesn't blast you into a million pieces right here. " - # }, { - # "time_created": date(2018, 9, 20), - # "full_name_commenter": "Grand Moff Tarkin", - # "message": "We'll have no more of this Obi-Wan Kenobi jibberish...and don't talk to me about your mission, either. You're fortunate he doesn't blast you into a million pieces right here. " - # }] - - comments = [] + # Dummy internal comments + comments = [{ + "time_created": date(2018, 9, 18), + "full_name_commenter": "Darth Vader", + "message": "We'll have no more of this Obi-Wan Kenobi jibberish...and don't talk to me about your mission, either. You're fortunate he doesn't blast you into a million pieces right here. " + }, { + "time_created": date(2018, 9, 20), + "full_name_commenter": "Grand Moff Tarkin", + "message": "We'll have no more of this Obi-Wan Kenobi jibberish...and don't talk to me about your mission, either. You're fortunate he doesn't blast you into a million pieces right here. " + }] return render_template( "requests/approval.html",