From 755c6c7959bc54bc95d3abf7c107fd764705edc4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20Gro=C3=9Fe?= <grosse@cosmocode.de> Date: Mon, 10 Apr 2017 12:28:08 +0200 Subject: [PATCH] Add icon for odt-export This icon is somewhat suboptimal and should be replaced when a better icon is found or created. SPR-906 --- images/tools/43-file-delimeted.svg | 3 +++ tpl/nav-page-tools.php | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 images/tools/43-file-delimeted.svg diff --git a/images/tools/43-file-delimeted.svg b/images/tools/43-file-delimeted.svg new file mode 100644 index 0000000..f4a984a --- /dev/null +++ b/images/tools/43-file-delimeted.svg @@ -0,0 +1,3 @@ +<svg viewBox="0 0 24 24"> + <path d="M13,9H18.5L13,3.5V9M6,2H14L20,8V20A2,2 0 0,1 18,22H6C4.89,22 4,21.1 4,20V4C4,2.89 4.89,2 6,2M14,15V11H10V15H12.3C12.6,17 12,18 9.7,19.38L10.85,20.2C13,19 14,16 14,15Z" /> +</svg> diff --git a/tpl/nav-page-tools.php b/tpl/nav-page-tools.php index 4f6571f..f57d335 100755 --- a/tpl/nav-page-tools.php +++ b/tpl/nav-page-tools.php @@ -57,7 +57,7 @@ 'class' => 'action export_pdf', 'style' => 'background-image: none;', ); - $svg = __DIR__ . '/../images/tools/FIXME'; + $svg = __DIR__ . '/../images/tools/43-file-delimeted.svg'; $item = \dokuwiki\template\sprintdoc\tpl::pageToolItem(wl($ID, $params, false, '&'), $odt->getLang('export_odt_button'), $svg, $attr); echo '<li>' . $item . '</li>'; }