- <div id="checkinfo">
- <div class="body">
- <g:if test="${flash.message}">
- <div class="message"><g:message code="${flash.message}" args="${flash.args}" default="${flash.defaultMessage}" /></div>
- </g:if>
- <div class="dialog">
- <h1><g:message code="roster.rosinfo" default="Show Roster Info" /></h1>
- <table style="width:500" >
- <tbody>
- <tr class="prop">
- <td valign="top" class="name"><g:message code="roster.id" default="Id" />:</td>
- <td valign="top" class="value">${roster.id}</td>
- </tr>
- <tr class="prop">
- <td valign="top" class="name"><g:message code="roster.rosRequestman" default="Ros Requestman" />:</td>
- <td valign="top" class="value"><g:link controller="staff" action="show" id="${roster?.rosRequestman?.id}">${roster?.rosRequestman}</g:link></td>
- </tr>
- <tr class="prop">
- <td valign="top" class="name"><g:message code="roster.rosFrom" default="Ros From" />:</td>
- <td valign="top" class="value">${roster.rosFrom}</td>
- </tr>
- <tr class="prop">
- <td valign="top" class="name"><g:message code="roster.rosTo" default="Ros To" />:</td>
- <td valign="top" class="value">${roster.rosTo}</td>
- </tr>
- <tr class="prop">
- <td valign="top" class="name"><g:message code="roster.rosState" default="Ros State" />:</td>
- <td valign="top" class="value">${roster?.rosState}</td>
- </tr>
- <tr class="prop">
- <td valign="top" class="name"><g:message code="roster.rosPlace" default="Ros Place" />:</td>
- <td valign="top" class="value">${roster.rosPlace}</td>
- </tr>
- <tr class="prop">
- <td valign="top" class="name"><g:message code="roster.rosMemo" default="Ros Memo" />:</td>
- <td valign="top" class="value">${roster.rosMemo}</td>
- </tr>
- <tr class="prop">
- <td valign="top" class="name"><g:message code="roster.rosCreatetime" default="Ros Createtime" />:</td>
- <td valign="top" class="value">${roster.rosCreatetime}</td>
- </tr>
- <tr class="prop">
- <td valign="top" class="name"><g:message code="roster.rosCreater" default="Ros Creater" />:</td>
- <td valign="top" class="value">${roster.rosCreater}</td>
- </tr>
- <tr class="prop">
- <td valign="top" class="name"><g:message code="roster.rosLastchange" default="Ros Lastchange" />:</td>
- <td valign="top" class="value">${roster.rosLastchange}</td>
- </tr>
- <tr class="prop">
- <td valign="top" class="name"><g:message code="roster.rosLastchanger" default="Ros Lastchanger" />:</td>
- <td valign="top" class="value">${roster.rosLastchanger}</td>
- </tr>
- </tbody>
- </table>
- </div>
- <div class="buttons">
- <g:formRemote name="adminpanel" url="${[controller:'adminPanel',action:'rosterCheck']}" update="place" onComplete="afterSuccess();">
- <input type="hidden" name="id" value="${roster.id}" />
- <input type="hidden" id="state" name="state" value=""/>
- <span class="button"><g:actionSubmit class="edit" action="Agree" value="${message(code:'agree', 'default':'Agree')}" onclick="document.getElementById('state').value='Agree';return confirm('${message(code:'agree.confirm', 'default':'Are you Agree?')}');"/></span>
- <span class="button"><g:actionSubmit class="delete" action="Disagree" onclick="document.getElementById('state').value='Disagree';" value="${message(code:'disagree', 'default':'Disagree')}" /></span>
- <span class="button"><input class="delete" type="button" onclick="hideDiv();" value="${message(code:'close', 'default':'Close')}"/> </span>
- </g:formRemote>
- </div>
- </div>
- </div>