#*
 * Aipo is a groupware program developed by Aimluck,Inc.
 * Copyright (C) 2004-2008 Aimluck,Inc.
 * http://aipostyle.com/
 * 
 * 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" "")
#ALajaxdetailformheader("ロール")
#ALtableheaderWide()
#ALtdcaption('ロール名')
#ALtditem($!result.Detail.AclRoleName)
#ALtdcaption('アクセス権限')
#ALtditemheader()
<h3>$!result.Detail.FeatureName</h3>
#if($!result.Detail.hasAclList()) <div>一覧表示</div> #end
#if($!result.Detail.hasAclDetail()) <div>詳細表示</div> #end
#if($!result.Detail.hasAclInsert()) <div>追加</div> #end
#if($!result.Detail.hasAclUpdate()) <div>編集</div> #end
#if($!result.Detail.hasAclDelete()) <div>削除</div> #end
#if($!result.Detail.hasAclExport()) <div>外部出力</div> #end
#ALtditemfooter()
#ALtdcaption('ユーザー')
#ALtditemheader()
#foreach($record in $!result.Detail.UserNameList)
$record<br />
#end
#ALtditemfooter()
#ALtdcaption('メモ')
#ALtditem($!result.Detail.Note)
#ALtdcaption('登録日')
#ALtditem($!result.Detail.CreateDate)
#ALtdcaption('更新日')
#ALtditem($!result.Detail.UpdateDate)
#ALtablefooter()
#ALbuttonheader()
#ALajaxbuttonEditCallback("$!jslink.getPortletById($!portlet.ID).addQueryData('template','AccessControlFormScreen').addQueryData('entityid',$!{result.Detail.AclRoleId})" "$!portlet.ID" "aipo.accessctl.onLoadAccessctlDialog")#ALajaxbuttonDelete("$!jslink.getPortletById($!portlet.ID).addQueryData('template','AccessControlFormJSONScreen').addQueryData('entityid',$!{result.Detail.AclRoleId}).addQueryData('mode', 'delete')" "$indicator_id" "$!portlet.ID" "aipo.accessctl.onReceiveMessage")#ALajaxbuttonClose()
#ALbuttonfooter()
#ALformfooter()
#ALdialogfooter()
