1
0
Fork 0
mirror of https://github.com/wallabag/wallabag.git synced 2025-07-22 17:18:37 +00:00

Bring tags on entries view to baggy

Also, a couple of UI improvement and CSS fixing
This commit is contained in:
Thomas Citharel 2016-07-01 13:59:30 +02:00
parent 9dbd3e9302
commit 1d4d9aaf29
No known key found for this signature in database
GPG key ID: 5780691F5FE48FB5
4 changed files with 137 additions and 75 deletions

View file

@ -28,7 +28,17 @@
</ul>
{% if entry.previewPicture is null %}
<p>{{ entry.content|striptags|slice(0, 300) }}&hellip;</p>
<ul class="card-entry-tags">
{% for tag in entry.tags %}
<li>{{ tag.label }}</li>
{% endfor %}
</ul>
{% else %}
<ul class="card-entry-labels">
{% for tag in entry.tags | slice(0, 3) %}
<li>{{ tag.label }}</li>
{% endfor %}
</ul>
<img class="preview" src="{{ entry.previewPicture }}" alt="{{ entry.title|raw }}" />
{% endif %}
</div>

View file

@ -77,7 +77,7 @@
<p>{{ entry.content|striptags|slice(0, 300)|raw }}&hellip;</p>
<ul class="card-entry-labels-hidden">
<ul class="card-entry-tags">
{% for tag in entry.tags %}
<li>{{ tag.label }}</li>
{% endfor %}