diff options
author | Nicolas Lœuillet <nicolas@loeuillet.org> | 2016-08-23 16:49:12 +0200 |
---|---|---|
committer | Nicolas Lœuillet <nicolas@loeuillet.org> | 2016-08-23 16:49:21 +0200 |
commit | f1be7af446052c6fed7033664c6c6350f558961b (patch) | |
tree | 41889e7ace01b1f1df05ffb412bac0427d9975a2 /src/Wallabag/CoreBundle/Resources | |
parent | 3377c938f8e5bd6af2cd4430494f39a517a7e910 (diff) | |
download | wallabag-f1be7af446052c6fed7033664c6c6350f558961b.tar.gz wallabag-f1be7af446052c6fed7033664c6c6350f558961b.tar.zst wallabag-f1be7af446052c6fed7033664c6c6350f558961b.zip |
Change share entry behavior
Diffstat (limited to 'src/Wallabag/CoreBundle/Resources')
12 files changed, 18 insertions, 1 deletions
diff --git a/src/Wallabag/CoreBundle/Resources/translations/messages.da.yml b/src/Wallabag/CoreBundle/Resources/translations/messages.da.yml index 2eb0b7b0..f9b7bfac 100644 --- a/src/Wallabag/CoreBundle/Resources/translations/messages.da.yml +++ b/src/Wallabag/CoreBundle/Resources/translations/messages.da.yml | |||
@@ -188,6 +188,7 @@ entry: | |||
188 | share_content: 'Deling' | 188 | share_content: 'Deling' |
189 | # share_email_label: 'Email' | 189 | # share_email_label: 'Email' |
190 | # public_link: 'public link' | 190 | # public_link: 'public link' |
191 | # delete_public_link: 'delete public link' | ||
191 | download: 'Download' | 192 | download: 'Download' |
192 | # print: 'Print' | 193 | # print: 'Print' |
193 | problem: | 194 | problem: |
diff --git a/src/Wallabag/CoreBundle/Resources/translations/messages.de.yml b/src/Wallabag/CoreBundle/Resources/translations/messages.de.yml index 3d4ae9b3..79d03286 100644 --- a/src/Wallabag/CoreBundle/Resources/translations/messages.de.yml +++ b/src/Wallabag/CoreBundle/Resources/translations/messages.de.yml | |||
@@ -188,6 +188,7 @@ entry: | |||
188 | share_content: 'Teilen' | 188 | share_content: 'Teilen' |
189 | share_email_label: 'E-Mail' | 189 | share_email_label: 'E-Mail' |
190 | # public_link: 'public link' | 190 | # public_link: 'public link' |
191 | # delete_public_link: 'delete public link' | ||
191 | download: 'Herunterladen' | 192 | download: 'Herunterladen' |
192 | print: 'Drucken' | 193 | print: 'Drucken' |
193 | problem: | 194 | problem: |
diff --git a/src/Wallabag/CoreBundle/Resources/translations/messages.en.yml b/src/Wallabag/CoreBundle/Resources/translations/messages.en.yml index b7a16446..d921b39f 100644 --- a/src/Wallabag/CoreBundle/Resources/translations/messages.en.yml +++ b/src/Wallabag/CoreBundle/Resources/translations/messages.en.yml | |||
@@ -188,6 +188,7 @@ entry: | |||
188 | share_content: 'Share' | 188 | share_content: 'Share' |
189 | share_email_label: 'Email' | 189 | share_email_label: 'Email' |
190 | public_link: 'public link' | 190 | public_link: 'public link' |
191 | delete_public_link: 'delete public link' | ||
191 | download: 'Download' | 192 | download: 'Download' |
192 | print: 'Print' | 193 | print: 'Print' |
193 | problem: | 194 | problem: |
diff --git a/src/Wallabag/CoreBundle/Resources/translations/messages.es.yml b/src/Wallabag/CoreBundle/Resources/translations/messages.es.yml index 0e4c0e6e..c2ec4dbd 100644 --- a/src/Wallabag/CoreBundle/Resources/translations/messages.es.yml +++ b/src/Wallabag/CoreBundle/Resources/translations/messages.es.yml | |||
@@ -188,6 +188,7 @@ entry: | |||
188 | share_content: 'Compartir' | 188 | share_content: 'Compartir' |
189 | share_email_label: 'Dirección e-mail' | 189 | share_email_label: 'Dirección e-mail' |
190 | # public_link: 'public link' | 190 | # public_link: 'public link' |
191 | # delete_public_link: 'delete public link' | ||
191 | download: 'Descargar' | 192 | download: 'Descargar' |
192 | print: 'Imprimir' | 193 | print: 'Imprimir' |
193 | problem: | 194 | problem: |
diff --git a/src/Wallabag/CoreBundle/Resources/translations/messages.fa.yml b/src/Wallabag/CoreBundle/Resources/translations/messages.fa.yml index 3b36f6f2..561ed907 100644 --- a/src/Wallabag/CoreBundle/Resources/translations/messages.fa.yml +++ b/src/Wallabag/CoreBundle/Resources/translations/messages.fa.yml | |||
@@ -188,6 +188,7 @@ entry: | |||
188 | share_content: 'همرسانی' | 188 | share_content: 'همرسانی' |
189 | share_email_label: 'نشانی ایمیل' | 189 | share_email_label: 'نشانی ایمیل' |
190 | # public_link: 'public link' | 190 | # public_link: 'public link' |
191 | # delete_public_link: 'delete public link' | ||
191 | download: 'بارگیری' | 192 | download: 'بارگیری' |
192 | print: 'چاپ' | 193 | print: 'چاپ' |
193 | problem: | 194 | problem: |
diff --git a/src/Wallabag/CoreBundle/Resources/translations/messages.fr.yml b/src/Wallabag/CoreBundle/Resources/translations/messages.fr.yml index df7c2271..c0671883 100644 --- a/src/Wallabag/CoreBundle/Resources/translations/messages.fr.yml +++ b/src/Wallabag/CoreBundle/Resources/translations/messages.fr.yml | |||
@@ -188,6 +188,7 @@ entry: | |||
188 | share_content: 'Partager' | 188 | share_content: 'Partager' |
189 | share_email_label: 'Email' | 189 | share_email_label: 'Email' |
190 | public_link: 'Lien public' | 190 | public_link: 'Lien public' |
191 | delete_public_link: 'Supprimer lien public' | ||
191 | download: 'Télécharger' | 192 | download: 'Télécharger' |
192 | print: 'Imprimer' | 193 | print: 'Imprimer' |
193 | problem: | 194 | problem: |
diff --git a/src/Wallabag/CoreBundle/Resources/translations/messages.it.yml b/src/Wallabag/CoreBundle/Resources/translations/messages.it.yml index 3760c2d6..2e3dd08b 100644 --- a/src/Wallabag/CoreBundle/Resources/translations/messages.it.yml +++ b/src/Wallabag/CoreBundle/Resources/translations/messages.it.yml | |||
@@ -185,6 +185,8 @@ entry: | |||
185 | add_a_tag: 'Aggiungi un tag' | 185 | add_a_tag: 'Aggiungi un tag' |
186 | share_content: 'Condividi' | 186 | share_content: 'Condividi' |
187 | share_email_label: 'E-mail' | 187 | share_email_label: 'E-mail' |
188 | # public_link: 'public link' | ||
189 | # delete_public_link: 'delete public link' | ||
188 | download: 'Download' | 190 | download: 'Download' |
189 | print: 'Stampa' | 191 | print: 'Stampa' |
190 | problem: | 192 | problem: |
diff --git a/src/Wallabag/CoreBundle/Resources/translations/messages.oc.yml b/src/Wallabag/CoreBundle/Resources/translations/messages.oc.yml index f3bfbd80..7b978a60 100644 --- a/src/Wallabag/CoreBundle/Resources/translations/messages.oc.yml +++ b/src/Wallabag/CoreBundle/Resources/translations/messages.oc.yml | |||
@@ -188,6 +188,7 @@ entry: | |||
188 | share_content: 'Partatjar' | 188 | share_content: 'Partatjar' |
189 | share_email_label: 'Corrièl' | 189 | share_email_label: 'Corrièl' |
190 | # public_link: 'public link' | 190 | # public_link: 'public link' |
191 | # delete_public_link: 'delete public link' | ||
191 | download: 'Telecargar' | 192 | download: 'Telecargar' |
192 | print: 'Imprimir' | 193 | print: 'Imprimir' |
193 | problem: | 194 | problem: |
diff --git a/src/Wallabag/CoreBundle/Resources/translations/messages.pl.yml b/src/Wallabag/CoreBundle/Resources/translations/messages.pl.yml index 93d3e91f..da170e4d 100644 --- a/src/Wallabag/CoreBundle/Resources/translations/messages.pl.yml +++ b/src/Wallabag/CoreBundle/Resources/translations/messages.pl.yml | |||
@@ -188,6 +188,7 @@ entry: | |||
188 | share_content: 'Udostępnij' | 188 | share_content: 'Udostępnij' |
189 | share_email_label: 'Adres email' | 189 | share_email_label: 'Adres email' |
190 | # public_link: 'public link' | 190 | # public_link: 'public link' |
191 | # delete_public_link: 'delete public link' | ||
191 | download: 'Pobierz' | 192 | download: 'Pobierz' |
192 | print: 'Drukuj' | 193 | print: 'Drukuj' |
193 | problem: | 194 | problem: |
diff --git a/src/Wallabag/CoreBundle/Resources/translations/messages.ro.yml b/src/Wallabag/CoreBundle/Resources/translations/messages.ro.yml index 3ba1e078..fa2d6468 100644 --- a/src/Wallabag/CoreBundle/Resources/translations/messages.ro.yml +++ b/src/Wallabag/CoreBundle/Resources/translations/messages.ro.yml | |||
@@ -188,6 +188,7 @@ entry: | |||
188 | share_content: 'Dă mai departe' | 188 | share_content: 'Dă mai departe' |
189 | share_email_label: 'E-mail' | 189 | share_email_label: 'E-mail' |
190 | # public_link: 'public link' | 190 | # public_link: 'public link' |
191 | # delete_public_link: 'delete public link' | ||
191 | download: 'Descarcă' | 192 | download: 'Descarcă' |
192 | # print: 'Print' | 193 | # print: 'Print' |
193 | problem: | 194 | problem: |
diff --git a/src/Wallabag/CoreBundle/Resources/translations/messages.tr.yml b/src/Wallabag/CoreBundle/Resources/translations/messages.tr.yml index f6337caa..05c31336 100644 --- a/src/Wallabag/CoreBundle/Resources/translations/messages.tr.yml +++ b/src/Wallabag/CoreBundle/Resources/translations/messages.tr.yml | |||
@@ -188,6 +188,7 @@ entry: | |||
188 | share_content: 'Paylaş' | 188 | share_content: 'Paylaş' |
189 | share_email_label: 'E-posta' | 189 | share_email_label: 'E-posta' |
190 | # public_link: 'public link' | 190 | # public_link: 'public link' |
191 | # delete_public_link: 'delete public link' | ||
191 | download: 'İndir' | 192 | download: 'İndir' |
192 | # print: 'Print' | 193 | # print: 'Print' |
193 | problem: | 194 | problem: |
diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entry.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entry.html.twig index 585e4dd5..05bb378d 100644 --- a/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entry.html.twig +++ b/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entry.html.twig | |||
@@ -101,10 +101,15 @@ | |||
101 | <ul> | 101 | <ul> |
102 | {% if craue_setting('share_public') %} | 102 | {% if craue_setting('share_public') %} |
103 | <li> | 103 | <li> |
104 | <a href="{{ path('share', {'uuid': entry.uuid }) }}" target="_blank" class="tool public" title="{{ 'entry.view.left_menu.public_link'|trans }}"> | 104 | <a href="{{ path('share', {'id': entry.id }) }}" target="_blank" class="tool public" title="{{ 'entry.view.left_menu.public_link'|trans }}"> |
105 | <span>{{ 'entry.view.left_menu.public_link'|trans }}</span> | 105 | <span>{{ 'entry.view.left_menu.public_link'|trans }}</span> |
106 | </a> | 106 | </a> |
107 | </li> | 107 | </li> |
108 | <li> | ||
109 | <a href="{{ path('delete_share', {'id': entry.id }) }}" class="tool public" title="{{ 'entry.view.left_menu.delete_public_link'|trans }}"> | ||
110 | <span>{{ 'entry.view.left_menu.delete_public_link'|trans }}</span> | ||
111 | </a> | ||
112 | </li> | ||
108 | {% endif %} | 113 | {% endif %} |
109 | {% if craue_setting('share_twitter') %} | 114 | {% if craue_setting('share_twitter') %} |
110 | <li> | 115 | <li> |