diff options
author | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2016-08-25 16:19:21 +0200 |
---|---|---|
committer | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2016-08-25 16:19:21 +0200 |
commit | 8e06720ff3bce85838e9ef76263d51ef8cdf1469 (patch) | |
tree | 219a6f4a90f81fac7286a085dab2dfe4d0ef794d | |
parent | aad350a5a29f92c9444ba1f5d569283ee33ba01d (diff) | |
download | wallabag-8e06720ff3bce85838e9ef76263d51ef8cdf1469.tar.gz wallabag-8e06720ff3bce85838e9ef76263d51ef8cdf1469.tar.zst wallabag-8e06720ff3bce85838e9ef76263d51ef8cdf1469.zip |
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> |