diff options
author | Jeremy Benoist <j0k3r@users.noreply.github.com> | 2016-08-26 12:14:36 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-08-26 12:14:36 +0200 |
commit | c4da9d1cd8df4a9efdb3150396432680d93f6e5a (patch) | |
tree | 219a6f4a90f81fac7286a085dab2dfe4d0ef794d | |
parent | aad350a5a29f92c9444ba1f5d569283ee33ba01d (diff) | |
parent | 8e06720ff3bce85838e9ef76263d51ef8cdf1469 (diff) | |
download | wallabag-c4da9d1cd8df4a9efdb3150396432680d93f6e5a.tar.gz wallabag-c4da9d1cd8df4a9efdb3150396432680d93f6e5a.tar.zst wallabag-c4da9d1cd8df4a9efdb3150396432680d93f6e5a.zip |
Merge pull request #2240 from wallabag/add-icon-public-share
Add icon for public share link
-rwxr-xr-x | app/Resources/static/themes/material/css/main.css | 4 | ||||
-rw-r--r-- | src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entry.html.twig | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/app/Resources/static/themes/material/css/main.css b/app/Resources/static/themes/material/css/main.css index cade37f6..b81335eb 100755 --- a/app/Resources/static/themes/material/css/main.css +++ b/app/Resources/static/themes/material/css/main.css | |||
@@ -630,6 +630,10 @@ main ul.row { | |||
630 | content: "\eae6"; | 630 | content: "\eae6"; |
631 | } | 631 | } |
632 | 632 | ||
633 | .icon-link::before { | ||
634 | content: "\e9cb"; | ||
635 | } | ||
636 | |||
633 | footer [class^="icon-"], | 637 | footer [class^="icon-"], |
634 | footer [class*=" icon-"] { | 638 | footer [class*=" icon-"] { |
635 | font-size: 2em; | 639 | font-size: 2em; |
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 05bb378d..eb5d88e3 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,7 +101,7 @@ | |||
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', {'id': entry.id }) }}" target="_blank" class="tool public" title="{{ 'entry.view.left_menu.public_link'|trans }}"> | 104 | <a href="{{ path('share', {'id': entry.id }) }}" target="_blank" class="public icon-link" 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> |