mirror of
https://github.com/wallabag/wallabag.git
synced 2025-01-23 07:08:09 +00:00
Add support of originUrl field in material entry view
Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
This commit is contained in:
parent
e50e45d6fa
commit
f0f162b8d2
1 changed files with 8 additions and 0 deletions
|
@ -249,6 +249,14 @@
|
||||||
<i class="material-icons link">comment</i>
|
<i class="material-icons link">comment</i>
|
||||||
{{ 'entry.view.annotations_on_the_entry'|transchoice(entry.annotations | length) }}
|
{{ 'entry.view.annotations_on_the_entry'|transchoice(entry.annotations | length) }}
|
||||||
</li>
|
</li>
|
||||||
|
{% if entry.originUrl is not empty %}
|
||||||
|
<li>
|
||||||
|
<i class="material-icons" title="Provided by">launch</i>
|
||||||
|
<a href="{{ entry.originUrl|e }}" target="_blank" class="tool">
|
||||||
|
{{ entry.originUrl|striptags|removeSchemeAndWww|truncate(32) }}
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
{% endif %}
|
||||||
</ul>
|
</ul>
|
||||||
<ul class="tags">
|
<ul class="tags">
|
||||||
{% for tag in entry.tags %}
|
{% for tag in entry.tags %}
|
||||||
|
|
Loading…
Reference in a new issue