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'");?>