| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465 |
- <ul class="page-list-ul page-list-ul-flat">
- {% for data in pages %}
- {% if pagePropertyName %}
- {% set page = data[pagePropertyName] %}
- {% else %}
- {% set page = data %}
- {% endif %}
- <li>
- <img src="{{ page.lastUpdateUser|picture }}" class="picture rounded-circle">
- <a href="{{ encodeURI(page.path) }}" class="text-break ml-1">
- {{ page.path | preventXss }}
- </a>
- <span class="page-list-meta">
- {% if page.isTopPage() %}
- <span class="badge badge-info">TOP</span>
- {% endif %}
- {% if page.isTemplate() %}
- <span class="badge badge-info">TMPL</span>
- {% endif %}
- {% if page.commentCount > 0 %}
- <span>
- <i class="icon-bubble"></i>{{ page.commentCount }}
- </span>
- {% endif %}
- {% if page.liker.length > 0 %}
- <span class="page-list-liker" data-count="{{ page.liker.length }}">
- <i class="icon-like"></i>{{ page.liker.length }}
- </span>
- {% endif %}
- {% if viewConfig.seener_threshold and page.seenUsers.length >= viewConfig.seener_threshold %}
- <span class="page-list-seer" data-count="{{ page.seenUsers.length }}">
- <i class="fa fa-paw"></i>{{ page.seenUsers.length }}
- </span>
- {% endif %}
- {% if !page.isPublic() %}
- <span>
- <i class="icon icon-lock"></i>
- </span>
- {% endif %}
- </span>
- </li>
- {% endfor %}
- </ul>
- {% if pager %}
- <ul class="pagination">
- {% if pager.prev !== null %}
- <li class="prev">
- <a href="{{ encodeURI(path) }}?offset={{ pager.prev }}" class="btn btn-outline-secondary"><i class="icon-arrow-left"></i> Prev</a>
- </li>
- {% endif %}
- {% if pager.next %}
- <li class="next">
- <a href="{{ encodeURI(path) }}?offset={{ pager.next }}" class="btn btn-outline-secondary">Next <i class="icon-arrow-right"></i></a>
- </li>
- {% endif %}
- </ul>
- {% endif %}
|