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:
parent
9dbd3e9302
commit
1d4d9aaf29
4 changed files with 137 additions and 75 deletions
|
@ -28,7 +28,17 @@
|
|||
</ul>
|
||||
{% if entry.previewPicture is null %}
|
||||
<p>{{ entry.content|striptags|slice(0, 300) }}…</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>
|
||||
|
|
|
@ -77,7 +77,7 @@
|
|||
|
||||
<p>{{ entry.content|striptags|slice(0, 300)|raw }}…</p>
|
||||
|
||||
<ul class="card-entry-labels-hidden">
|
||||
<ul class="card-entry-tags">
|
||||
{% for tag in entry.tags %}
|
||||
<li>{{ tag.label }}</li>
|
||||
{% endfor %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue