

<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
        <meta name="layout" content="main" />
        <title>TaskRecurringSchedule List</title>
    </head>
    <body>
        <div class="nav">
            <span class="menuButton"><g:link class="create" action="create">New TaskRecurringSchedule</g:link></span>
        </div>
        <div class="body">
            <h1>TaskRecurringSchedule List</h1>
            <g:if test="${flash.message}">
            <div class="message">${flash.message}</div>
            </g:if>
            <div class="list">
                <table>
                    <thead>
                        <tr>
                        
                   	        <g:sortableColumn property="id" title="Id" />
                        
                   	        <g:sortableColumn property="taskId" title="Recurring Schedule for Task" />
                        
                   	        <g:sortableColumn property="recurEvery" title="Recur Every" />
                   	        
                   	        <g:sortableColumn property="recurPeriod" title="Recur Period" />
                   	        
                   	        <g:sortableColumn property="enabled" title="Enabled" />

                            <th></th>
                   	    
                        </tr>
                    </thead>
                    <tbody>
                    <g:each in="${taskRecurringScheduleInstanceList}" status="i" var="taskRecurringScheduleInstance">
                        <tr class="${(i % 2) == 0 ? 'clickableOdd' : 'clickableEven'}" onclick='window.location = "${request.getContextPath()}/taskRecurringScheduleDetailed/show/${taskRecurringScheduleInstance.id}"'/>

                        
                            <td><g:link action="show" id="${taskRecurringScheduleInstance.id}">${fieldValue(bean:taskRecurringScheduleInstance, field:'id')}</g:link></td>
                        
                            <td>${fieldValue(bean:taskRecurringScheduleInstance, field:'task')}</td>
                        
                            <td>${fieldValue(bean:taskRecurringScheduleInstance, field:'recurEvery')}</td>
                        
                            <td>${fieldValue(bean:taskRecurringScheduleInstance, field:'recurPeriod')}</td>
                        
                            <td>${fieldValue(bean:taskRecurringScheduleInstance, field:'enabled')}</td>

                            <td>
                                <g:link action="show" id="${taskRecurringScheduleInstance.id}">
                                    <img  src="${resource(dir:'images/skin',file:'database_go.png')}" alt="Show" />
                                </g:link>
                            </td>
                        
                        </tr>
                    </g:each>
                    </tbody>
                </table>
            </div>
            <div class="paginateButtons">
                <g:paginate total="${taskRecurringScheduleInstanceTotal}" />
            </div>
        </div>
    </body>
</html>
