#*
 * Aipo is a groupware program developed by Aimluck,Inc.
 * http://aipostyle.com/
 * 
 * Copyright(C) 2009 avanza Co.,Ltd. All rights reserved.
 * http://www.avnz.co.jp/
 * 
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU 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 General Public License for more details.
 * 
 * You should have received a copy of the GNU General Public License
 * along with this program. If not, see <http://www.gnu.org/licenses/>.
 *#
## ---------------------------------------------------------------------------
#set ($indicator_id = "indicator-dlg-")
## ---------------------------------------------------------------------------
#ALdialogheader("回覧板カテゴリ")
#ALajaxIndicator("$indicator_id" "$!portlet.ID" "")
<div id="messageDiv"></div>
#ALajaxdetailformheader("カテゴリ")
#ALtableheaderWide()
#ALtdcaption('カテゴリ名')
#ALtditem($!result.Detail.CategoryName)
#ALtdcaption('テンプレート')
#ALtditem($!result.Detail.Template)
#ALtdcaption('メモ')
#ALtditem($!result.Detail.Note)
#ALtdcaption('登録日')
#ALtditem($!result.Detail.CreateDate)
#ALtdcaption('更新日')
#ALtditem($!result.Detail.UpdateDate)
#ALtablefooter()
#ALbuttonheader()
#if( "$!{result.LoginUser}" == "$!{result.Detail.OwnerId.Value}" )
#ALajaxbuttonEditCallback("$!jslink.getPortletById($!portlet.ID).addQueryData('template','CirculationCategoryFormScreen').addQueryData('entityid',$!{result.Detail.CategoryId})" "$!portlet.ID" "aipo.circulation_category.onLoadCirculationCategoryDialog")
#if(! ($!result.Detail.CategoryId.toString() == "1"))
#ALajaxbuttonDelete("$!jslink.getPortletById($!portlet.ID).addQueryData('template','CirculationCategoryFormJSONScreen').addQueryData('entityid',$!{result.Detail.CategoryId}).addQueryData('mode', 'delete')" "$indicator_id" "$!portlet.ID" "aipo.circulation_category.onReceiveMessage")
#end
#end
#ALajaxbuttonClose()
#ALbuttonfooter()
#ALformfooter()
#ALdialogfooter()
