mirror of
https://github.com/wallabag/wallabag.git
synced 2024-11-26 19:11:07 +00:00
Merge pull request #6778 from wallabag/add-confirmation-before-reload
Add confirmation before reload entry
This commit is contained in:
commit
f4fd8e4675
2 changed files with 2 additions and 1 deletions
|
@ -54,7 +54,7 @@
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="bold">
|
<li class="bold">
|
||||||
<a class="waves-effect collapsible-header" title="{{ 'entry.view.left_menu.re_fetch_content'|trans }}" href="{{ path('reload_entry', {'id': entry.id}) }}" id="reload">
|
<a class="waves-effect collapsible-header" onclick="return confirm('{{ 'entry.confirm.reload'|trans|escape('js') }}')" title="{{ 'entry.view.left_menu.re_fetch_content'|trans }}" href="{{ path('reload_entry', {'id': entry.id}) }}" id="reload">
|
||||||
<i class="material-icons small">refresh</i>
|
<i class="material-icons small">refresh</i>
|
||||||
<span>{{ 'entry.view.left_menu.re_fetch_content'|trans }}</span>
|
<span>{{ 'entry.view.left_menu.re_fetch_content'|trans }}</span>
|
||||||
</a>
|
</a>
|
||||||
|
|
|
@ -320,6 +320,7 @@ entry:
|
||||||
delete: Are you sure you want to remove that article?
|
delete: Are you sure you want to remove that article?
|
||||||
delete_tag: Are you sure you want to remove that tag from that article?
|
delete_tag: Are you sure you want to remove that tag from that article?
|
||||||
delete_entries: Are you sure you want to remove these articles?
|
delete_entries: Are you sure you want to remove these articles?
|
||||||
|
reload: Are you sure you want to reload that article?
|
||||||
metadata:
|
metadata:
|
||||||
reading_time: Estimated reading time
|
reading_time: Estimated reading time
|
||||||
reading_time_minutes_short: '%readingTime% min'
|
reading_time_minutes_short: '%readingTime% min'
|
||||||
|
|
Loading…
Reference in a new issue