* finish task#1395.
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
if($extView = $this->getExtViewFile(__FILE__)){include $extView; return helper::cd();}
|
||||
include 'm.header.lite.html.php';
|
||||
?>
|
||||
<div data-role="header">
|
||||
<div data-role="header" data-position='fixed'>
|
||||
<div data-role="navbar" id='navbar'>
|
||||
<?php commonModel::printMainmenu($this->moduleName, $this->methodName)?>
|
||||
</ul>
|
||||
|
||||
@@ -12,4 +12,5 @@ $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->bugBar = array('assignedTo', 'openedBy', 'resolvedBy');
|
||||
$config->mobile->storyBar = array('assignedTo', 'openedBy', 'reviewedBy');
|
||||
|
||||
@@ -1,14 +1,32 @@
|
||||
<?php
|
||||
/**
|
||||
* The todo view file of dashboard module of ZenTaoPMS.
|
||||
* The task view file of dashboard module of ZenTaoPMS.
|
||||
*
|
||||
* @copyright Copyright 2009-2013 青岛易软天创网络科技有限公司 (QingDao Nature Easy Soft Network Technology Co,LTD www.cnezsoft.com)
|
||||
* @license LGPL (http://www.gnu.org/licenses/lgpl.html)
|
||||
* @author Yidong Wang <yidong@cnezsoft.com>
|
||||
* @package my
|
||||
* @version $Id: todo.html.php 4735 2013-05-03 08:30:02Z chencongzhi520@gmail.com $
|
||||
* @version $Id: task.html.php 4735 2013-05-03 08:30:02Z chencongzhi520@gmail.com $
|
||||
* @link http://www.zentao.net
|
||||
*/
|
||||
?>
|
||||
<?php include '../../common/view/m.header.html.php';?>
|
||||
<div data-role='navbar' style='margin:-15px 0 15px 0;'>
|
||||
<ul>
|
||||
<?php foreach($config->mobile->bugBar as $menu):?>
|
||||
<?php $active = $type == $menu ? 'ui-btn-active' : ''?>
|
||||
<li>
|
||||
<?php
|
||||
$subMenuName = $menu == 'assignedTo' ? $lang->bug->assignToMe : $lang->bug->{$menu . 'Me'};
|
||||
echo html::a($this->createLink('my', 'bug', "type=$menu"), $subMenuName, '', "class='$active'");
|
||||
?>
|
||||
</li>
|
||||
<?php endforeach;?>
|
||||
</ul>
|
||||
</div>
|
||||
<ul data-role='listview'>
|
||||
<?php foreach($bugs as $bug):?>
|
||||
<li><?php echo html::a($this->createLink('bug', 'view', "bugID=$bug->id"), $bug->title)?></li>
|
||||
<?php endforeach;?>
|
||||
</ul>
|
||||
<?php include '../../common/view/m.footer.html.php';?>
|
||||
|
||||
Reference in New Issue
Block a user