From f9f3b0c716e5227e2cdfb6b12162c7e811900249 Mon Sep 17 00:00:00 2001 From: hufangzhou Date: Mon, 27 Jun 2022 14:52:11 +0800 Subject: [PATCH] * Code for task #58568. --- module/my/css/todo.css | 4 ++++ module/my/view/todo.html.php | 6 ++++++ module/upgrade/config.php | 3 +++ 3 files changed, 13 insertions(+) diff --git a/module/my/css/todo.css b/module/my/css/todo.css index 4391484b57..5ff682bd50 100644 --- a/module/my/css/todo.css +++ b/module/my/css/todo.css @@ -4,3 +4,7 @@ .btn-group a.btn-primary {border-right: 1px solid rgba(255,255,255,0.2);} .btn-toolbar .space {min-height: 1px; margin: 0 -3px 0 10px;} .iconCenter {top: -2px !important;} + +#switchButton {background: #fff !important;} +.panel-actions {position: relative; padding: 0;} +.panel-actions .btn-icon {padding-left: 7px;} diff --git a/module/my/view/todo.html.php b/module/my/view/todo.html.php index 6db91d204f..b40d3042f8 100644 --- a/module/my/view/todo.html.php +++ b/module/my/view/todo.html.php @@ -35,6 +35,12 @@
+ edition != 'open' and !empty($app->user) and common::hasPriv('todo', 'calendar')):?> +
+  ", '', "class='btn btn-icon' title='{$lang->todo->calendar}' id='switchButton'");?> +  ", '', "class='btn btn-icon text-primary' title='{$lang->todo->list}' id='switchButton'");?> +
+ id}&orderBy=$orderBy", 'html', true), " " . $lang->todo->export, '', "class='btn btn-link export' data-width='600px'");?>