Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow users and funders to comment back and forth on their applications #304

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
comment box only should only appear for the requester of an event
  • Loading branch information
Dfeng6789 committed Nov 14, 2021

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
commit 996025b912298e08c66e7275481d3259f8aebaec
2 changes: 2 additions & 0 deletions penncfa/templates/app/templatetags/application.html
Original file line number Diff line number Diff line change
@@ -234,11 +234,13 @@ <h2>
{% empty %}
There are no comments yet.
{% endfor %}
{% if user == event.requester.user %}
{% if user and user.profile.is_funder %}
<p>Specify any conditions and stipulations here.</p>
{% else %}
<p>Leave a comment for your funder here.</p>
{% endif %}
<textarea name="new-comment" class="span8 form-control"></textarea>
{% endif %}
</div>
</section>