mirror of
https://github.com/miniflux/v2.git
synced 2025-07-27 17:28:38 +00:00
Use Web Share API for sharing entry
This commit is contained in:
parent
bf4823bdbd
commit
061f12fbb0
3 changed files with 48 additions and 5 deletions
|
@ -49,6 +49,7 @@
|
|||
<li>
|
||||
<a href="{{ route "sharedEntry" "shareCode" .entry.ShareCode }}"
|
||||
title="{{ t "entry.shared_entry.title" }}"
|
||||
data-share-status="shared"
|
||||
target="_blank">{{ icon "share" }}<span class="icon-label">{{ t "entry.shared_entry.label" }}</span></a>
|
||||
</li>
|
||||
<li>
|
||||
|
@ -64,6 +65,7 @@
|
|||
<li>
|
||||
<a href="{{ route "shareEntry" "entryID" .entry.ID }}"
|
||||
title="{{ t "entry.share.title" }}"
|
||||
data-share-status="share"
|
||||
target="_blank">{{ icon "share" }}<span class="icon-label">{{ t "entry.share.label" }}</span></a>
|
||||
</li>
|
||||
{{ end }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue