#*
 * Aipo is a groupware program developed by Aimluck,Inc.
 * Copyright (C) 2004-2010 Aimluck,Inc.
 * http://aipostyle.com/
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Affero General Public License as
 * published by the Free Software Foundation, either version 3 of the
 * License, or (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Affero General Public License for more details.
 *
 * You should have received a copy of the GNU Affero General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 *#

## ---------------------------------------------------------------------------
#set($career = 'wm')
#if($!result.currentTab == "list") #set($pagetitle = "未完了ToDo一覧") #else #set($pagetitle = "完了ToDo一覧") #end
#set($linklist = [["未完了ToDo一覧", "$!jslink.getPortletById($!portlet.ID).addQueryData('eventSubmit_doTodo_list','1').addQueryData('tab','list')"], ["完了ToDo一覧", "$!jslink.getPortletById($!portlet.ID).addQueryData('eventSubmit_doTodo_list','1').addQueryData('tab','complete')"], ["カテゴリ一覧", "$!jslink.getPortletById($!portlet.ID).addQueryData('eventSubmit_doTodo_category_list','1')"]])
#ALcell_pagetitle_iphone($career "ToDo詳細")
#ALcell_linklist_iphone($career $linklist)
<div id="contents">

<dl class="detail">
<dt>ToDo名</dt>
<dd>$!{result.Detail.TodoName}</dd>
<dt>カテゴリ</dt>
<dd>$!{result.Detail.CategoryName}</dd>
<dt>開始日</dt>
<dd>$!{result.Detail.StartDate}</dd>
<dt>締切日</dt>
<dd>$!{result.Detail.EndDate}</dd>
<dt>進捗</dt>
<dd>$!{result.Detail.StateString}</dd>
<dt>優先度</dt>
<dd>$!{result.Detail.PriorityString}</dd>
<dt>登録日</dt>
<dd>$!{result.Detail.CreateDate}</dd>
<dt>更新日</dt>
<dd>$!{result.Detail.UpdateDate}</dd>
<dt>メモ</dt>
<dd>$!{result.Detail.Note}</dd>
<dt>公開区分</dt>
#if(${result.Detail.isPublic()})
<dd>公開</dd>
#else
<dd>非公開</dd>
#end
<dt>ｽｹｼﾞｭｰﾙへの表示</dt>
<dd>#if($!{result.Detail.addonScheduleFlg()}) 表示 #else 非表示 #end</dd>
</dl>

#if($!result.ScheduleUrl && $!result.ScheduleUrl != "")
<a href="$!result.ScheduleUrl" class="btn">前のページに戻る</a>
#end
</div><!-- contents END -->
#ALcell_linklist_iphone($career $linklist)
