#*
 * Aipo is a groupware program developed by Aimluck,Inc.
 * Copyright (C) 2004-2011 Aimluck,Inc.
 * http://www.aipo.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/>.
 *#

## ---------------------------------------------------------------------------
#if($result.currentSubMenu=="requested")
#set($subtitle='ワークフロー確認依頼一覧')
#set($noresultmsg='依頼はありません。')
#else
#set($subtitle='ワークフロー作成依頼一覧')
#set($noresultmsg='作成分はありません。')
#end
#set($link = "$!jslink.getPortletById($!portlet.ID).addQueryData('eventSubmit_doWorkflow_list','1')")

## ---------------------------------------------------------------------------
#set($linklist = [["ワークフローへ", "$!jslink.getPortletById($!portlet.ID).addQueryData('mode','menu')"]])
#ALcell_pagetitle_iphone($career $subtitle)
#ALcell_linklist_iphone($career $linklist)
#ALcell_contents_header($career)
#if ($result.List.size() == 0)
<p class="center">$noresultmsg</p>
#else
#if($result.PagesNum > 1)
#ALcell_pageview($career $link $result)
#end
#ALcell_radius_header($career)
#foreach ($record in $result.List)
#ALcell_li_header($career)
<a href="$!utils.escapeXML($!jslink.getPortletById($!portlet.ID).addQueryData('mode','detail').addQueryData('entityid',$record.RequestId).addQueryData('prvid',$record.RequestId))"><strong>【$!record.CategoryName】#if($!record.RequestName != '') $!record.RequestName #end </strong><br><small>[$!{record.PriceStr}&nbsp;円]/[作成：$!record.CreateDate]/[最終更新：$!record.LastUpdateUser]/[進捗：$!record.StateString]</small></a>
#ALcell_li_footer($career)
#end
#ALcell_radius_footer($career)
#if($result.PagesNum > 1)
#ALcell_pageview($career $link $result)
#end
#end
#ALcell_contents_footer($career)
#ALcell_linklist_iphone($career $linklist)
