From 782520e7b7cbae81400f58b7ed6960cbfc54398b Mon Sep 17 00:00:00 2001 From: wangyidong Date: Thu, 20 Jun 2013 03:16:07 +0000 Subject: [PATCH] * finish task #1394. --- lib/pager/pager.class.php | 2 ++ module/common/view/m.footer.html.php | 14 +++++++++++++- module/my/config.php | 5 +++-- module/my/view/m.story.html.php | 20 ++++++++++++++++++-- module/my/view/m.task.html.php | 1 + module/my/view/m.todo.html.php | 1 + 6 files changed, 38 insertions(+), 5 deletions(-) diff --git a/lib/pager/pager.class.php b/lib/pager/pager.class.php index 84f3aaddd2..cf99b58f89 100755 --- a/lib/pager/pager.class.php +++ b/lib/pager/pager.class.php @@ -312,6 +312,8 @@ class pager $pager .= $this->createLastPage(); } + if($type != 'full') $pager = $this->pageID . '/' . $this->pageTotal . ' ' . $pager; + /* Only the full type . */ if($type == 'full') { diff --git a/module/common/view/m.footer.html.php b/module/common/view/m.footer.html.php index 196500fe6a..340819553b 100755 --- a/module/common/view/m.footer.html.php +++ b/module/common/view/m.footer.html.php @@ -1,6 +1,6 @@ getExtViewFile(__FILE__)){include $extView; return helper::cd();}?> - + + diff --git a/module/my/config.php b/module/my/config.php index a4a985ca7d..357472761d 100644 --- a/module/my/config.php +++ b/module/my/config.php @@ -10,5 +10,6 @@ $config->my->bugCounts = 10; $config->my->storyCounts = 10; $config->mobile = new stdclass(); -$config->mobile->todoBar = array('today', 'yesterday', 'thisWeek', 'lastWeek', 'all'); -$config->mobile->taskBar = array('assignedTo', 'openedBy'); +$config->mobile->todoBar = array('today', 'yesterday', 'thisWeek', 'lastWeek', 'all'); +$config->mobile->taskBar = array('assignedTo', 'openedBy'); +$config->mobile->storyBar = array('assignedTo', 'openedBy', 'reviewedBy'); diff --git a/module/my/view/m.story.html.php b/module/my/view/m.story.html.php index eda5edff28..1c673917c1 100755 --- a/module/my/view/m.story.html.php +++ b/module/my/view/m.story.html.php @@ -1,14 +1,30 @@ * @package my - * @version $Id: todo.html.php 4735 2013-05-03 08:30:02Z chencongzhi520@gmail.com $ + * @version $Id: story.html.php 4735 2013-05-03 08:30:02Z chencongzhi520@gmail.com $ * @link http://www.zentao.net */ ?> +
+ +
+ +

+show('right', 'short')?> +

diff --git a/module/my/view/m.task.html.php b/module/my/view/m.task.html.php index 8ba73a1e03..055603123e 100755 --- a/module/my/view/m.task.html.php +++ b/module/my/view/m.task.html.php @@ -24,4 +24,5 @@
  • createLink('task', 'view', "taskID=$task->id"), $task->name)?>
  • +

    show('right', 'short')?>

    diff --git a/module/my/view/m.todo.html.php b/module/my/view/m.todo.html.php index 5e3a0ca6ed..7cc3702b67 100755 --- a/module/my/view/m.todo.html.php +++ b/module/my/view/m.todo.html.php @@ -24,6 +24,7 @@
  • createLink('todo', 'view', "todoID=$todo->id&from=my"), $todo->name)?>
  • +

    show('right', 'short')?>