{% extends "::author.html.twig"%} {% block title %} Dashboard {% endblock %} {% block body %}

Dashboard

  • MY ARTICLE
  • AS CO-AUTHOR
{#
#}

Draft

{% if entitiesDraft | length > 0 %} {% for todo in entitiesDraft %} {#{% if todo.status == 4 and todo.status != 3 and todo.status != 2 and todo.status != 1 %}#} {% if todo.status is null %}
todo {{ todo.user.title }}.{{ todo.user.firstname }}

{{ todo.title }}

{% if todo.reviewer | length %}

Reviewer
{% set cpt_todo = 0 %} {% for rev in todo.reviewer %} {% set cpt_todo = cpt_todo+1 %} {{ rev.title }}.{{ rev.firstname }} {% if cpt_todo != todo.reviewer |length %},{% endif %} {% endfor %}

{% endif %}

Co-author
{% set cpt_todo_i = 0 %} {% for coauth in todo.coauthor %} {% set cpt_todo_i = cpt_todo_i+1 %} {{ coauth.title }}.{{ coauth.firstname }} {% if cpt_todo_i != todo.coauthor |length %},{% endif %} {% endfor %}

{% endif %} {% endfor %} {% endif %} {#{% if coauthors_draft | length > 0 %}#} {#{% for todo_coauthors in coauthors_draft %}#} {#{% if todo_coauthors.status != 4 and todo_coauthors.status != 3 and todo_coauthors.status != 2 and todo_coauthors.status != 1 %}#} {#
#} {#todo {{ todo_coauthors.user.title }}.{{ todo_coauthors.user.firstname }}#} {#

{{ todo_coauthors.title }}

#} {#{% if todo_coauthors.reviewer | length %}#} {#

Reviewer
#} {#{% set cpt_todo_coauthors = 0 %}#} {#{% for rev_todo_coauthors in todo_coauthors.reviewer %}#} {#{% set cpt_todo_coauthors = cpt_todo_coauthors+1 %}#} {#{{ rev_todo_coauthors.title }}.{{ rev_todo_coauthors.firstname }} #} {#{% if cpt_todo_coauthors != todo_coauthors.reviewer |length %},{% endif %}#} {#{% endfor %}#} {#

#} {#{% endif %}#} {#

Co-author
#} {#{% set cpt_todo_coauthors_i = 0 %}#} {#{% for coauth_todo_coauthors in todo_coauthors.coauthor %}#} {#{% set cpt_todo_coauthors_i = cpt_todo_coauthors_i+1 %}#} {#{{ coauth_todo_coauthors.title }}.{{ coauth_todo_coauthors.firstname }} #} {#{% if cpt_todo_coauthors_i != todo_coauthors.coauthor |length %},{% endif %}#} {#{% endfor %}#} {#

#} {##} {#
#} {#{% endif %}#} {#{% endfor %}#} {#{% endif %}#}

Pending

{% if entities | length > 0 %} {% for pending in entities %} {% if pending.status == 3 or pending.status == 5 %}
pending {{ pending.user.title }}.{{ pending.user.firstname }}

{{ pending.title }}

{% if pending.reviewer | length %}

Reviewer
{% set cpt_pending = 0 %} {% for revp in pending.reviewer %} {% set cpt_pending = cpt_pending+1 %} {{ revp.title }}.{{ revp.firstname }} {% if cpt_pending != pending.reviewer |length %} , {% endif %} {% endfor %}

{% endif %}
{% endif %} {% endfor %} {% endif %} {#{% if coauthors | length > 0 %}#} {#{% for pending_coauthors in coauthors %}#} {#{% if pending_coauthors.status == 3 or pending_coauthors.status == 5 %}#} {#
#} {#pending {{ pending_coauthors.user.title }}.{{ pending_coauthors.user.firstname }}#} {#

{{pending_coauthors.title }}

#} {#{% if pending_coauthors.reviewer | length %}#} {#

Reviewer
#} {#{% set cpt_pending_coauthors = 0 %}#} {#{% for rev_pending_coauthors in pending_coauthors.reviewer %}#} {#{% set cpt_pending_coauthors = cpt_pending_coauthors+1 %}#} {#{{ rev_pending_coauthors.title }}.{{ rev_pending_coauthors.firstname }} #} {#{% if cpt_pending_coauthors != pending_coauthors.reviewer |length %},{% endif %}#} {#{% endfor %}#} {#

#} {#{% endif %}#} {#

Co-author
#} {#{% set cpt_pending_coauthors_i = 0 %}#} {#{% for coauth_pending_coauthors in pending_coauthors.coauthor %}#} {#{% set cpt_pending_coauthors_i = cpt_pending_coauthors_i+1 %}#} {#{{ coauth_pending_coauthors.title }}.{{ coauth_pending_coauthors.firstname }} #} {#{% if cpt_pending_coauthors_i != pending_coauthors.coauthor |length %},{% endif %}#} {#{% endfor %}#} {#

#} {##} {#
#} {#{% endif %}#} {#{% endfor %}#} {#{% endif %}#}

Accepted with modification

{% if entities | length > 0 %} {% for toreview in entities %} {% if toreview.status == 2 %}
for correction {{ toreview.user.title }}.{{ toreview.user.firstname }}

{{ toreview.title }}

{% if toreview.reviewer | length %}

Reviewer
{% set cpt_toreview = 0 %} {% for retoreview in toreview.reviewer %} {% set cpt_toreview = cpt_toreview+1 %} {{ retoreview.title }}.{{ retoreview.firstname }} {% if cpt_toreview != toreview.reviewer |length %} , {% endif %} {% endfor %}

{% endif %}
{% endif %} {% endfor%} {% endif %} {#{% if coauthors | length > 0 %}#} {#{% for toreview_coauthors in coauthors %} #} {#{% if toreview_coauthors.status == 2 %}#} {#
#} {#for correction {{ toreview_coauthors.user.title }}.{{ toreview_coauthors.user.firstname }}#} {#

{{toreview_coauthors.title }}

#} {#{% if toreview_coauthors.reviewer | length %}#} {#

Reviewer
#} {#{% set cpt_toreview_coauthors = 0 %}#} {#{% for rev_toreview_coauthors in toreview_coauthors.reviewer %}#} {#{% set cpt_toreview_coauthors = cpt_toreview_coauthors+1 %}#} {#{{ rev_toreview_coauthors.title }}.{{ rev_toreview_coauthors.firstname }} #} {#{% if cpt_toreview_coauthors != toreview_coauthors.reviewer |length %},{% endif %}#} {#{% endfor %}#} {#

#} {#{% endif %}#} {#

Co-author
#} {#{% set cpt_toreview_coauthors_i = 0 %}#} {#{% for coauth_toreview_coauthors in toreview_coauthors.coauthor %}#} {#{% set cpt_toreview_coauthors_i = cpt_toreview_coauthors_i+1 %}#} {#{{ coauth_toreview_coauthors.title }}.{{ coauth_toreview_coauthors.firstname }} #} {#{% if cpt_toreview_coauthors_i != toreview_coauthors.coauthor |length %},{% endif %}#} {#{% endfor %}#} {#

#} {##} {#
#} {#{% endif %}#} {#{% endfor %}#} {#{% endif %}#}

Rejected

{% if entities | length > 0 %} {% for rejected in entities %} {% if rejected.status == 4 %}
Rejected {{ rejected.user.title }}.{{ rejected.user.firstname }}

{{ rejected.title }}

{% if rejected.reviewer | length %}

Reviewer
{% set cpt_rejected = 0 %} {% for rejected in rejected.reviewer %} {% set cpt_rejected = cpt_rejected+1 %} {{ rejected.title }}.{{ rejected.firstname }} {# {% if rejected.reviewer | length >1 %}#} {# {% if cpt_rejected != rejected.reviewer | length %} , {% endif %}#} {# {% endif %}#} {% endfor %}

{% endif %}
{% endif %} {% endfor %} {% endif %} {#{% if coauthors | length > 0 %}#} {#{% for rejected_coauthors in coauthors %} #} {#{% if rejected_coauthors.status == 4 %}#} {#
#} {#Rejected {{ rejected_coauthors.user.title }}.{{ rejected_coauthors.user.firstname }}#} {#

{{rejected_coauthors.title }}

#} {#{% if rejected_coauthors.reviewer | length %}#} {#

Reviewer
#} {#{% set cpt_rejected_coauthors = 0 %}#} {#{% for rev_rejected_coauthors in rejected_coauthors.reviewer %}#} {#{% set cpt_rejected_coauthors = cpt_rejected_coauthors+1 %}#} {#{{ rev_rejected_coauthors.title }}.{{ rev_rejected_coauthors.firstname }} #} {#{% if cpt_rejected_coauthors != rejected_coauthors.reviewer |length %},{% endif %}#} {#{% endfor %}#} {#

#} {#{% endif %}#} {#

Co-author
#} {#{% set cpt_rejected_coauthors_i = 0 %}#} {#{% for coauth_rejected_coauthors in rejected_coauthors.coauthor %}#} {#{% set cpt_rejected_coauthors_i = cpt_rejected_coauthors_i+1 %}#} {#{{ coauth_rejected_coauthors.title }}.{{ coauth_rejected_coauthors.firstname }} #} {#{% if cpt_rejected_coauthors_i != rejected_coauthors.coauthor |length %},{% endif %}#} {#{% endfor %}#} {#

#} {##} {#
#} {#{% endif %}#} {#{% endfor %}#} {#{% endif %}#}

Published

{% if entities | length > 0 %} {% for published in entities %} {% if published.status == 1 %}
Published {{ published.user.title }}.{{ published.user.firstname }}

{{ published.title }}

Reviewer
{% set cpt_published = 0 %} {% for revpublished in published.reviewer %} {% set cpt_published = cpt_published+1 %} {{ revpublished.title }}.{{ revpublished.firstname }} {% if cpt_published != published.reviewer |length %},{% endif %} {% endfor %}

{% endif %} {% endfor %} {% endif %} {% if coauthors | length > 0 %} {% for published_coauthors in coauthors %} {% if published_coauthors.status == 1 %}
Published {{ published_coauthors.user.title }}.{{ published_coauthors.user.firstname }}

{{published_coauthors.title }}

{% if published_coauthors.reviewer | length %}

Reviewer
{% set cpt_published_coauthors = 0 %} {% for rev_published_coauthors in published_coauthors.reviewer %} {% set cpt_published_coauthors = cpt_published_coauthors+1 %} {{ rev_published_coauthors.title }}.{{ rev_published_coauthors.firstname }} {% if cpt_published_coauthors != published_coauthors.reviewer |length %},{% endif %} {% endfor %}

{% endif %}

Co-author
{% set cpt_published_coauthors_i = 0 %} {% for coauth_published_coauthors in published_coauthors.coauthor %} {% set cpt_published_coauthors_i = cpt_published_coauthors_i+1 %} {{ coauth_published_coauthors.title }}.{{ coauth_published_coauthors.firstname }} {% if cpt_published_coauthors_i != published_coauthors.coauthor |length %},{% endif %} {% endfor %}

{% endif %} {% endfor %} {% endif %}
{% endblock %}