Remove fake comment data
This commit is contained in:
parent
fafe98756b
commit
5fec89d120
@ -14,8 +14,6 @@ from atst.domain.exceptions import NotFoundError
|
||||
from atst.forms.ccpo_review import CCPOReviewForm
|
||||
from atst.forms.internal_comment import InternalCommentForm
|
||||
|
||||
from datetime import date
|
||||
|
||||
|
||||
def map_ccpo_authorizing(user):
|
||||
return {"fname_ccpo": user.first_name, "lname_ccpo": user.last_name}
|
||||
@ -33,20 +31,6 @@ def render_approval(request, form=None, internal_comment_form=None):
|
||||
if not internal_comment_form:
|
||||
internal_comment_form = InternalCommentForm()
|
||||
|
||||
# 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",
|
||||
data=data,
|
||||
|
@ -32,11 +32,6 @@
|
||||
|
||||
</section>
|
||||
|
||||
{{ Alert('Comments and comment form are fake!',
|
||||
message="<p>Please note, the comments and comment form below are just mocked out. Submitting it will do nothing. These will be hooked up to real functionality shortly. </p><p><strong>Engineer: please remove this alert when you do your thing.</strong></p>",
|
||||
level='warning'
|
||||
) }}
|
||||
|
||||
<section class='internal-notes' id='ccpo-notes'>
|
||||
<form method="POST" action="{{ url_for('requests.create_internal_comment', request_id=request.id) }}">
|
||||
<div class='panel'>
|
||||
|
Loading…
x
Reference in New Issue
Block a user