SciPost Code Repository

Skip to content
Snippets Groups Projects
Commit 38f13524 authored by George Katsikas's avatar George Katsikas :goat:
Browse files

add notes to fellowship details page

parent 463d1c87
No related branches found
No related tags found
No related merge requests found
...@@ -162,6 +162,7 @@ ...@@ -162,6 +162,7 @@
</table> </table>
<a href="{% url 'colleges:fellowship_create' contributor_id=fellowship.contributor.id %}">Add new Fellowship for {{ fellowship.contributor }}</a> <a href="{% url 'colleges:fellowship_create' contributor_id=fellowship.contributor.id %}">Add new Fellowship for {{ fellowship.contributor }}</a>
</div> </div>
{% include "pins/_hx_notes_list.html" with object=fellowship %}
</div> </div>
{% if fellowship.guest %} {% if fellowship.guest %}
......
...@@ -540,6 +540,11 @@ class Command(BaseCommand): ...@@ -540,6 +540,11 @@ class Command(BaseCommand):
name="Can view internal submissions notes", name="Can view internal submissions notes",
content_type=content_type, content_type=content_type,
) )
can_view_internal_fellowship_notes, created = Permission.objects.get_or_create(
codename="can_view_internal_fellowship_notes",
name="Can view internal fellowship notes",
content_type=content_type,
)
# Affiliate Journals # Affiliate Journals
can_create_affiliate_journals, created = Permission.objects.get_or_create( can_create_affiliate_journals, created = Permission.objects.get_or_create(
...@@ -686,6 +691,7 @@ class Command(BaseCommand): ...@@ -686,6 +691,7 @@ class Command(BaseCommand):
can_view_fellowships_monitor, can_view_fellowships_monitor,
can_add_notes, can_add_notes,
can_view_internal_submission_notes, can_view_internal_submission_notes,
can_view_internal_fellowship_notes,
can_view_mailing_lists, can_view_mailing_lists,
can_create_affiliate_journals, can_create_affiliate_journals,
] ]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment