{% extends 'affiliates/base.html' %}
{% load static %}
{% load bootstrap %}
{% load guardian_tags %}
{% block pagetitle %}: Affiliate Journal: {{ object }}{% endblock %}
{% block breadcrumb_items %}
Affiliates
Journals
{{ object }}
{% endblock %}
{% block content %}
{% get_obj_perms request.user for object as "user_perms" %}
Affiliate Journal: {{ object }}
{% if object.logo_svg %}

{% elif object.logo %}

{% endif %}
Journal information
{% if perms.affiliates.can_edit_affiliatedjournal %}
Administration
Journal managers
{% endif %}
{% if perms.affiliates.can_edit_affiliatedjournal %}
{% endif %}
{% if 'manage_journal_content' in user_perms %}
Management
Add a publication
{% endif %}
{% if 'manage_journal_content' in user_perms %}
{% include 'affiliates/_affiliatepublication_table.html' with publications=object.publications.all|slice:":10" can_manage_journal_content=True %}
{% else %}
{% include 'affiliates/_affiliatepublication_table.html' with publications=object.publications.all|slice:":10" %}
{% endif %}
Organization |
Summed PubFractions |
{% for organization in top_benefitting_organizations %}
{{ organization }}
|
{{ organization.sum_affiliate_pubfractions }} |
{% empty %}
No items at this time |
{% endfor %}
Balance
Management
Specify cost info
Year |
Expenditure per publication |
|
{% for year, cost in object.cost_info.items reversed %}
{{ year }} |
{{ cost }} |
{% if year != 'default' %}
{% include 'bi/x-square-fill.html' %}
{% endif %}
|
{% endfor %}
Year |
Nr publications |
Unit cost |
Expenditure |
Subsidies |
Balance |
{% for year, balance in object.balance_info.items %}
{{ year }} |
{{ balance.nr_publications }} |
{{ balance.unit_cost }} |
{{ balance.expenditure }} |
{{ balance.subsidies }} |
{{ balance.balance }} |
{% endfor %}
Organization |
Subsidy (€) |
{% for subsidy in subsidies_current_year %}
{{ subsidy.organization }}
|
{{ subsidy.amount }} |
{% empty %}
No subsidies defined |
{% endfor %}
{% endblock content %}
{% block footer_script %}
{{ add_manager_form.media }}
{{ add_publication_form.media }}
{% endblock footer_script %}