- <html>
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
- <meta name="layout" content="main" />
- <title><g:message code="roster.show" default="Show Roster" /></title>
- </head>
- <body>
- <div class="nav">
- <span class="menuButton"><a class="home" href="${createLinkTo(dir:'')}"><g:message code="home" default="Home" /></a></span>
- <span class="menuButton"><g:link class="list" action="list"><g:message code="roster.list" default="Roster List" /></g:link></span>
- <span class="menuButton"><g:link class="create" action="create"><g:message code="roster.new" default="New Roster" /></g:link></span>
- </div>
- <div class="body">
- <h1><g:message code="roster.show" default="Show Roster" /></h1>
- <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">
- <table>
- <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.rosPermitman" default="Ros Permitman" />:</td>
- <td valign="top" class="value"><g:link controller="staff" action="show" id="${roster?.rosPermitman?.id}">${roster?.rosPermitman}</g:link></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:form>
- <input type="hidden" name="id" value="${roster.id}" />
- <input type="hidden" name="_rosRequestman" value="${params._rosRequestman}" />
- <input type="hidden" name="_rosState_id" value="${params._rosState_id}" />
- <input type="hidden" name="_rosLastchangefrom" value="${params._rosLastchangefrom}" />
- <input type="hidden" name="_rosLastchangeto" value="${params._rosLastchangeto}" />
- <input type="hidden" name="_rosDel" value="${params._rosDel}" />
- <input type="hidden" name="offset" value="${params.offset}" />
- <input type="hidden" name="sort" value="${params.sort}" />
- <input type="hidden" name="order" value="${params.order}" />
- <span class="button"><g:actionSubmit class="edit" action="Edit" value="${message(code:'edit', 'default':'Edit')}" /></span>
- <span class="button"><g:actionSubmit class="delete" onclick="return confirm('${message(code:'delete.confirm', 'default':'Are you sure?')}');" action="Delete" value="${message(code:'delete', 'default':'Delete')}" /></span>
- <span class="button"><g:link class="link" controller="roster" action="list" params="${[_rosRequestman:params._rosRequestman,_rosState_id:params._rosState_id,_rosLastchangefrom:params._rosLastchangefrom,_rosLastchangeto:params._rosLastchangeto,_rosDel:params._rosDel,max:params.max,offset:params.offset]}"><g:message code="back" default="Back" /></g:link></span>
- </g:form>
- </div>
- </div>
- </body>
- </html>