#*
 * 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 ($indicator_id = "indicator-dlg-")
## ---------------------------------------------------------------------------
#ALdialogheader("社外グループ詳細")
#ALajaxIndicator("$indicator_id" "$!portlet.ID" "")
<div id="messageDiv"></div>
#ALajaxdetailformheader("グループ")
#ALtableheaderWide()
#ALtdcaption('グループ名')
#ALtditem("$result.getStringCR($!result.Detail.GroupName)")
#ALtdcaption('グループメンバー')
#ALtditemheader()
#set ($memberlist = $!result.getGroupMemberList($!{result.Detail.GroupId.Value.toString()}))
#if($!memberlist.size() > 0)
#set($size = $!memberlist.size())
#set($count = 1)
#foreach($membername in $!memberlist)
$!{membername}#if($count < $size)<br />#end
#set($count = $count + 1)
#end
#else
このグループにはメンバーが指定されていません。
#end
#ALtditemfooter()
#ALtablefooter()
#ALbuttonheader()
#ALajaxbuttonEditCallback("$!jslink.getPortletById($!portlet.ID).addQueryData('template','AddressBookGroupFormScreen').addQueryData('entityid',$!{result.Detail.GroupId})" "$!portlet.ID" "aipo.addressbook.onLoadAddressbookGroupDialog")#ALajaxbuttonDelete("$!jslink.getPortletById($!portlet.ID).addQueryData('template','AddressBookGroupFormJSONScreen').addQueryData('entityid',$!{result.Detail.GroupId}).addQueryData('mode', 'delete')" "$indicator_id" "$!portlet.ID" "aipo.addressbook.onReceiveMessage")#ALajaxbuttonClose()
#ALbuttonfooter()
#ALformfooter()
#ALdialogfooter()
