Browse Source

add public feed counter

develop
Simon Vieille 5 months ago
parent
commit
8e463550e4
Signed by: deblan GPG Key ID: 03383D15A1D31745
  1. 25
      templates/app/home.html.twig

25
templates/app/home.html.twig

@ -19,26 +19,33 @@
<img id="logo" src="{{ asset('assets/icon.svg') }}" alt="Mail RSS">
</div>
<div class="col-12">
<p class="h4 p-2 text-center">
Propulsé par <a href="https://gitnet.fr/deblan/mail-rss" target="_blank">Mail RSS</a>
développé par <a href="https://www.deblan.io" target="_blank">Simon Vieille</a>
</p>
</div>
{% if mailings|length %}
<div class="col-6 m-auto">
<div class="col-8 m-auto">
<ul class="list-group">
<li class="list-group-item list-group-item-action list-group-item-secondary font-weight-bolder">
Flux publiés
</li>
{% for mailing in mailings %}
<li class="list-group-item">
<li class="list-group-item d-flex justify-content-between align-items-center">
<a href="{{ path('mailing_rss', {mailing: mailing.id}) }}">
{{ mailing.label }}
</a>
<span class="badge badge-primary badge-pill">
{{ mailing.mails|length }}
</span>
</li>
{% endfor %}
</ul>
</div>
{% endif %}
<div class="col-12">
<p class="h6 p-2 text-center mt-5">
Propulsé par <a href="https://gitnet.fr/deblan/mail-rss" target="_blank">Mail RSS</a>
développé par <a href="https://www.deblan.io" target="_blank">Simon Vieille</a>
</p>
</div>
</div>
</div>
{% endblock %}
Loading…
Cancel
Save