You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Update communication view to be an independent page (#4414)
Depends on:
- #3944
- #4413
What's changed:
- project and submission to use the same communication page
- update urls to point to the new page
- update urls in email.
- Cleanup the old comment view page code
- new permission check added "view_comments" -- anyone with either
access to project or submission will have access to it's comments page.
Other updates:
- Global activity feed has updated text for the comments
- New function based view is use to show and add comment
- Remove the use of tab.js on the submisison/project detail page, all
the tabs are server-rendered full-page now.
Fixes#4355
Copy file name to clipboardExpand all lines: hypha/apply/activity/templates/messages/email/applicant_base.html
+1-1
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@
6
6
{# fmt:off #}
7
7
{% block more_info %}{% trans "Link to your application" %}: {{ request.scheme }}://{{ request.get_host }}{{ source.get_absolute_url }}
8
8
9
-
{% trans "If you have any questions, please submit them here" %}: {{ request.scheme }}://{{ request.get_host }}{{ source.get_absolute_url }}#communications
9
+
{% trans "If you have any questions, please submit them here" %}: {{ request.scheme }}://{{ request.get_host }}{% if source.submission %}{% url 'funds:submissions:comments' pk=source.submission.pk %}{% else %}{% url 'funds:submissions:comments' pk=source.pk %}{% endif %}
10
10
11
11
{% trans "See our guide for more information" %}: {{ ORG_GUIDE_URL }}
Copy file name to clipboardExpand all lines: hypha/apply/activity/templates/messages/email/contract_uploaded.html
+1-1
Original file line number
Diff line number
Diff line change
@@ -26,7 +26,7 @@
26
26
{% block more_info %}
27
27
{% if request.user != source.user %}
28
28
{% trans "Link to your application" %}: {{ request.scheme }}://{{ request.get_host }}{{ source.get_absolute_url }}
29
-
{% trans "If you have any questions, please submit them here" %}: {{ request.scheme }}://{{ request.get_host }}{{ source.get_absolute_url }}#communications
29
+
{% trans "If you have any questions, please submit them here" %}: {{ request.scheme }}://{{ request.get_host }}{% url 'funds:submissions:comments' pk=source.submission.pk %}
30
30
31
31
{% trans "See our guide for more information" %}: {{ ORG_GUIDE_URL }}
Copy file name to clipboardExpand all lines: hypha/apply/activity/templates/messages/email/invited_to_proposal.html
+1-1
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@
8
8
9
9
{% block more_info %}
10
10
{% trans "Here is the link to start creating your proposal" %}: {{ request.scheme }}://{{ request.get_host }}{{ source.get_absolute_url }}
11
-
{% trans "If you have any questions, please submit them here" %}: {{ request.scheme }}://{{ request.get_host }}{{ source.get_absolute_url }}#communications
11
+
{% trans "If you have any questions, please submit them here" %}: {{ request.scheme }}://{{ request.get_host }}{% url 'funds:submissions:comments' pk=source.pk %}
12
12
13
13
{% blocktrans %}The system will allow you to save a draft of your proposal as you work on it. When you feel it is ready for our review, please click the “Submit” button and we’ll know to take a look at it. We’ll reply to you with feedback on your Proposal as quickly as possible.{% endblocktrans %}
Copy file name to clipboardExpand all lines: hypha/apply/activity/templates/messages/email/ready_for_invoicing.html
+1-1
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@
8
8
9
9
{% block more_info %}
10
10
{% trans "Link to your project" %}: {{ request.scheme }}://{{ request.get_host }}{{ source.get_absolute_url }}
11
-
{% trans "If you have any questions, please submit them here" %}: {{ request.scheme }}://{{ request.get_host }}{{ source.get_absolute_url }}#communications
11
+
{% trans "If you have any questions, please submit them here" %}: {{ request.scheme }}://{{ request.get_host }}{% url 'funds:submissions:comments' pk=source.submission.pk %}
12
12
13
13
{% trans "See our guide for more information" %}: {{ ORG_GUIDE_URL }}
Copy file name to clipboardExpand all lines: hypha/apply/activity/templates/messages/email/submission_confirmation.html
+1-1
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@
7
7
8
8
{% if source.is_draft %}{% trans "Please note that it is not submitted for review because it's still in draft." %} {% trans "You can access the draft at" %}: {{ request.scheme }}://{{ request.get_host }}{{ source.get_absolute_url }}{% else %}{% trans "We will review and reply to your submission as quickly as possible." %}{% endif %}
9
9
10
-
{% trans "If you have any questions, please submit them here" %}: {{ request.scheme }}://{{ request.get_host }}{{ source.get_absolute_url }}#communications
10
+
{% trans "If you have any questions, please submit them here" %}: {{ request.scheme }}://{{ request.get_host }}{% url 'funds:submissions:comments' pk=source.pk %}
11
11
12
12
{% blocktrans %}If you have issues accessing the submission system or general inquiries, please email us at {{ ORG_EMAIL }}.{% endblocktrans %}
Copy file name to clipboardExpand all lines: hypha/apply/activity/templates/messages/email/transition.html
+1-1
Original file line number
Diff line number
Diff line change
@@ -5,5 +5,5 @@
5
5
{% block content %}{# fmt:off #}
6
6
{% blocktrans with old_status=old_phase.public_name new_status=source.phase.public_name %}Your application is now in "{{ new_status }}" status (progressed from "{{ old_status }}").{% endblocktrans %}
7
7
8
-
{% trans "Please submit any questions related to your application here" %}: {{ request.scheme }}://{{ request.get_host }}{{ source.get_absolute_url }}#communications
8
+
{% trans "Please submit any questions related to your application here" %}: {{ request.scheme }}://{{ request.get_host }}{% url 'funds:submissions:comments' pk=source.pk %}
0 commit comments