mirror of
https://github.com/wallabag/wallabag.git
synced 2024-11-23 09:31:04 +00:00
Add support of originUrl field in baggy entry view
This commit is contained in:
parent
00f2368f7a
commit
6de4cd35b5
1 changed files with 8 additions and 0 deletions
|
@ -71,6 +71,14 @@
|
|||
</i>
|
||||
|
||||
<span class="tool link"><i class="material-icons link">comment</i> {{ 'entry.view.annotations_on_the_entry'|transchoice(entry.annotations | length) }}</span>
|
||||
|
||||
{% if entry.originUrl is not empty %}
|
||||
<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>
|
||||
{% endif %}
|
||||
|
||||
<aside class="tags">
|
||||
<div class="card-entry-tags">
|
||||
{% for tag in entry.tags %}
|
||||
|
|
Loading…
Reference in a new issue