From ee8dcf9d6434e97100771c50d3cf7988ebdf37fc Mon Sep 17 00:00:00 2001 From: "chencongzhi520@gmail.com" Date: Thu, 11 Apr 2013 05:38:37 +0000 Subject: [PATCH] * finish task#1261. --- module/my/css/todo.css | 1 - module/todo/css/view.css | 1 + module/todo/view/view.html.php | 2 ++ www/theme/default/style.css | 3 +++ 4 files changed, 6 insertions(+), 1 deletion(-) delete mode 100644 module/my/css/todo.css create mode 100644 module/todo/css/view.css diff --git a/module/my/css/todo.css b/module/my/css/todo.css deleted file mode 100644 index b472324d25..0000000000 --- a/module/my/css/todo.css +++ /dev/null @@ -1 +0,0 @@ -.icon-green-todo-finish {padding:2px 8px; background:url(theme/default/images/main/zt-icons.png) -80px -242px;} diff --git a/module/todo/css/view.css b/module/todo/css/view.css new file mode 100644 index 0000000000..4aeeb0553e --- /dev/null +++ b/module/todo/css/view.css @@ -0,0 +1 @@ +.icon-green-todo-finish {background-position:-80px -240px;} diff --git a/module/todo/view/view.html.php b/module/todo/view/view.html.php index 42aeefb206..f736664e65 100644 --- a/module/todo/view/view.html.php +++ b/module/todo/view/view.html.php @@ -72,6 +72,8 @@ { $browseLink = $this->createLink('user', 'todo', "account=$todo->account"); } + + common::printIcon('todo', 'finish', "id=$todo->id", $todo, 'list', '', 'hiddenwin'); if($todo->account == $app->user->account) { common::printIcon('todo', 'edit', "todoID=$todo->id"); diff --git a/www/theme/default/style.css b/www/theme/default/style.css index a3fbc76f95..39a27edb64 100644 --- a/www/theme/default/style.css +++ b/www/theme/default/style.css @@ -441,6 +441,9 @@ table.tablesorter thead tr .headerSortDown {background-image: url(./images/table #featurebar .f-right .icon-green-todo-create, .icon-green-productplan-create, .icon-green-release-create,#featurebar .f-right .icon-green-doc-create, .icon-green-doc-create, .icon-green-build-create {padding:2px 8px; background:url(images/main/zt-icons.png) 0px -202px;} .icon-green-group-create {padding:2px 8px; background:url(images/main/zt-icons.png) 0px -202px;} +/* Todo icons. */ +.icon-green-todo-finish {padding:1px 8px; background:url(images/main/zt-icons.png) -80px -242px;} + /* Story icons. */ .icon-green-story-toStory {padding:2px 8px; background:url(images/main/zt-icons.png) 0px -202px;}