add public feed counter
This commit is contained in:
parent
0e4bb2a349
commit
8e463550e4
|
@ -19,26 +19,33 @@
|
||||||
<img id="logo" src="{{ asset('assets/icon.svg') }}" alt="Mail RSS">
|
<img id="logo" src="{{ asset('assets/icon.svg') }}" alt="Mail RSS">
|
||||||
</div>
|
</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 %}
|
{% if mailings|length %}
|
||||||
<div class="col-6 m-auto">
|
<div class="col-8 m-auto">
|
||||||
<ul class="list-group">
|
<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 %}
|
{% 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}) }}">
|
<a href="{{ path('mailing_rss', {mailing: mailing.id}) }}">
|
||||||
{{ mailing.label }}
|
{{ mailing.label }}
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
|
<span class="badge badge-primary badge-pill">
|
||||||
|
{{ mailing.mails|length }}
|
||||||
|
</span>
|
||||||
</li>
|
</li>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% 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>
|
||||||
</div>
|
</div>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
Loading…
Reference in New Issue