Improve reporting
This commit is contained in:
parent
07702cbd0e
commit
3f246b6037
4 changed files with 123 additions and 32 deletions
|
|
@ -1,11 +1,42 @@
|
|||
Comments :
|
||||
- published : {{ published }}
|
||||
- rejected : {{ rejected }}
|
||||
- standby : {{ standby }}
|
||||
{% if subscribed %}
|
||||
{% if subscribed|length > 1 %}NEW SUBSCRIPTIONS{% else %}NEW SUBSCRIPTION{% endif %} :
|
||||
{% for c in subscribed %}
|
||||
- {{ c.name }} ({{ c.email }}) => {{ c.url }}
|
||||
{% endfor %}
|
||||
|
||||
New readers : {{ subscribed }}
|
||||
Cancelled subscriptions : {{ unsubscribed }}
|
||||
{% endif %}
|
||||
{% if unsubscribed %}
|
||||
{% if unsubscribed|length > 1 %}CANCELLED SUBSCRIPTIONS{% else %}CANCELLED SUBSCRIPTION{% endif %} :
|
||||
{% for c in unsubscribed %}
|
||||
- {{ c.name }} ({{ c.email }}) => {{ c.url }}
|
||||
{% endfor %}
|
||||
|
||||
{% endif %}
|
||||
{% if published %}
|
||||
{% if published|length > 1 %}PUBLISHED COMMENTS{% else %}PUBLISHED COMMENT{% endif %} :
|
||||
{% for c in published %}
|
||||
- {{ c.name }} ({{ c.email }}) => {{ c.url }}
|
||||
{% endfor %}
|
||||
|
||||
{% endif %}
|
||||
{% if rejected %}
|
||||
{% if rejected|length > 1 %}REJECTED COMMENTS{% else %}REJECTED COMMENT{% endif %} :
|
||||
{% for c in rejected %}
|
||||
- {{ c.name }} ({{ c.email }}) => {{ c.url }}
|
||||
{% endfor %}
|
||||
|
||||
{% endif %}
|
||||
{% if standbys %}
|
||||
{% if standbys|length > 1 %}STANDBY COMMENTS{% else %}STANDBY COMMENT{% endif %} :
|
||||
{% for c in standbys %}
|
||||
- {{ c.name }} ({{ c.created }}) => {{ c.url }}
|
||||
{{ c.content }}
|
||||
|
||||
Accepter : {{ root_url}}/accept?secret={{ secret}}&comment={{ c.id }}
|
||||
Rejeter : {{ root_url}}/reject?secret={{ secret}}&comment={{ c.id }}
|
||||
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
--
|
||||
Stacosys
|
||||
|
||||
|
|
|
|||
|
|
@ -1,11 +1,42 @@
|
|||
Nombre de commentaires :
|
||||
- publié(s) : {{ published }}
|
||||
- rejeté(s) : {{ rejected }}
|
||||
- en attente : {{ standby }}
|
||||
{% if subscribed %}
|
||||
{% if subscribed|length > 1 %}NOUVEAUX ABONNEMENTS{% else %}NOUVEL ABONNEMENT{% endif %} :
|
||||
{% for c in subscribed %}
|
||||
- {{ c.name }} ({{ c.email }}) => {{ c.url }}
|
||||
{% endfor %}
|
||||
|
||||
Nombre de nouveaux abonnés : {{ subscribed }}
|
||||
Abonnements résiliés : {{ unsubscribed }}
|
||||
{% endif %}
|
||||
{% if unsubscribed %}
|
||||
{% if unsubscribed|length > 1 %}ABONNEMENTS RESILIES{% else %}ABONNEMENT RESILIE{% endif %} :
|
||||
{% for c in unsubscribed %}
|
||||
- {{ c.name }} ({{ c.email }}) => {{ c.url }}
|
||||
{% endfor %}
|
||||
|
||||
{% endif %}
|
||||
{% if published %}
|
||||
{% if published|length > 1 %}COMMENTAIRES PUBLIES{% else %}COMMENTAIRE PUBLIE{% endif %} :
|
||||
{% for c in published %}
|
||||
- {{ c.name }} ({{ c.email }}) => {{ c.url }}
|
||||
{% endfor %}
|
||||
|
||||
{% endif %}
|
||||
{% if rejected %}
|
||||
{% if rejected|length > 1 %}COMMENTAIRES REJETES{% else %}COMMENTAIRE REJETE{% endif %} :
|
||||
{% for c in rejected %}
|
||||
- {{ c.name }} ({{ c.email }}) => {{ c.url }}
|
||||
{% endfor %}
|
||||
|
||||
{% endif %}
|
||||
{% if standbys %}
|
||||
{% if standbys|length > 1 %}COMMENTAIRES EN ATTENTE{% else %}COMMENTAIRE EN ATTENTE{% endif %} :
|
||||
{% for c in standbys %}
|
||||
- {{ c.name }} ({{ c.created }}) => {{ c.url }}
|
||||
{{ c.content }}
|
||||
|
||||
Accepter : {{ root_url}}/accept?secret={{ secret}}&comment={{ c.id }}
|
||||
Rejeter : {{ root_url}}/reject?secret={{ secret}}&comment={{ c.id }}
|
||||
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
--
|
||||
Stacosys
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue