SciPost Code Repository
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
SciPost
Manage
Activity
Members
Labels
Plan
Issues
118
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
SciPost
SciPost
Commits
ba6bdece
Commit
ba6bdece
authored
2 years ago
by
Jean-Sébastien Caux
Browse files
Options
Downloads
Patches
Plain Diff
Refine display of info on finances:apex page
parent
3f73a824
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
scipost_django/finances/templates/finances/apex.html
+72
-32
72 additions, 32 deletions
scipost_django/finances/templates/finances/apex.html
with
72 additions
and
32 deletions
scipost_django/finances/templates/finances/apex.html
+
72
−
32
View file @
ba6bdece
...
...
@@ -19,42 +19,82 @@
in our Journals, the purpose being to determine the average expenditure per publication
which we have achieved.
</p>
<p><strong>
N.B.
</strong>
: these numbers are indicative only (accurate to 3 digits);
see our yearly financial reports for a fully detailed break
w
own of our expenses.
</p>
see our yearly financial reports for a fully detailed break
d
own of our expenses.
</p>
<table
class=
"table"
>
{% for year in data.pubyears reversed %}
{% for key, val in data.items %}
{% if year == key|add:"0" %}
<tr>
<td>
{{ year }}{% if year == data.pubyears|last %}
<br><em
class=
"text-danger"
>
(in progress)
</em>
{% endif %}
</td>
<td>
<table
class=
"table"
>
<thead>
<tr>
<th>
Journal
</th>
<th
class=
"text-end"
>
Nr of publications{% if year == data.pubyears|last %}
<br><em
class=
"text-danger"
>
(in progress)
</em>
{% endif %}
</th>
<th
class=
"text-end"
>
Expenditure per publication{% if year == data.pubyears|last %}
<br><em
class=
"text-danger"
>
(in progress)
</em>
{% endif %}
</th>
<th
class=
"text-end"
>
Total expenditures{% if year == data.pubyears|last %}
<br><em
class=
"text-danger"
>
(in progress)
</em>
{% endif %}
</th>
</tr>
</thead>
<tbody>
{% for journal, journaldata in val.items %}
{% if journaldata.npub > 0 %}
<tr>
<td>
{{ journal }}
</td>
<td
class=
"text-end"
>
{{ journaldata.npub }}
</td>
<td
class=
"text-end"
>
{{ journaldata.cost_per_pub }}
</td>
<td
class=
"text-end"
>
{{ journaldata.expenditures }}
</td>
</tr>
{% endif %}
{% endfor %}
<tr
class=
"table-info"
>
<td
colspan=
"3"
>
Total publishing expenditures{% if year == data.pubyears|last %}
<br><em
class=
"text-danger"
>
(in progress)
</em>
{% endif %}
</td>
<td
class=
"text-end"
>
{{ val.expenditures }}
</td>
</tr>
</tbody>
</table>
</td>
</tr>
{% if year == data.pubyears|last %}
<tr>
<td>
{{ year }}
<br><em
class=
"text-danger"
>
(in progress)
</em></td>
<td>
<table
class=
"table"
>
<thead>
<tr>
<th>
Journal
</th>
<th
class=
"text-end"
>
Nr of publications
</th>
<th
class=
"text-end"
>
Expenditure per publication
</th>
<th
class=
"text-end"
>
Total expenditures
</th>
</tr>
</thead>
<tbody>
{% for journal, journaldata in val.items %}
{% if journaldata.npub > 0 %}
<tr>
<td>
{{ journal }}
</td>
<td
class=
"text-end"
>
{{ journaldata.npub }}
</td>
<td
class=
"text-end"
>
<em
class=
"text-danger"
>
(in progress)
</td>
<td
class=
"text-end"
>
<em
class=
"text-danger"
>
(in progress)
</td>
</tr>
{% endif %}
{% endfor %}
<tr
class=
"table-info"
>
<td
colspan=
"3"
>
Total publishing expenditures
</td>
<td
class=
"text-end"
>
<em
class=
"text-danger"
>
(in progress)
</td>
</tr>
</tbody>
</table>
</td>
</tr>
{% else %}
<tr>
<td>
{{ year }}{% if in_progress %}
<br><em
class=
"text-danger"
>
(in progress)
</em>
{% endif %}
</td>
<td>
<table
class=
"table"
>
<thead>
<tr>
<th>
Journal
</th>
<th
class=
"text-end"
>
Nr of publications
</th>
<th
class=
"text-end"
>
Expenditure per publication
</th>
<th
class=
"text-end"
>
Total expenditures
</th>
</tr>
</thead>
<tbody>
{% for journal, journaldata in val.items %}
{% if journaldata.npub > 0 %}
<tr>
<td>
{{ journal }}
</td>
<td
class=
"text-end"
>
{{ journaldata.npub }}
</td>
<td
class=
"text-end"
>
{{ journaldata.cost_per_pub }}
</td>
<td
class=
"text-end"
>
{{ journaldata.expenditures }}
</td>
</tr>
{% endif %}
{% endfor %}
<tr
class=
"table-info"
>
<td
colspan=
"3"
>
Total publishing expenditures
</td>
<td
class=
"text-end"
>
{{ val.expenditures }}
</td>
</tr>
</tbody>
</table>
</td>
</tr>
{% endif %}
{% endif %}
{% endfor %}
{% endfor %}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment