photos-comment-count.html.twig in Album Photos 6.0.x
{% if comcount %}
{% if post_comments %}
<a href="{{ login_href }}">Login</a> to post comments
{% else %}
<a href="{{ url }}#comment-form">Add new comment</a>
{% endif %}
{% else %}
<a href="{{ url }}#comments">
{% trans %}
{{ comcount }} comment
{% plural comcount %}
{{ comcount }} comments
{% endtrans %}
</a>
{% endif %}
File
templates/photos-comment-count.html.twig
View source
- {% if comcount %}
- {% if post_comments %}
- <a href="{{ login_href }}">Login</a> to post comments
- {% else %}
- <a href="{{ url }}#comment-form">Add new comment</a>
- {% endif %}
- {% else %}
- <a href="{{ url }}#comments">
- {% trans %}
- {{ comcount }} comment
- {% plural comcount %}
- {{ comcount }} comments
- {% endtrans %}
- </a>
- {% endif %}