</thead>
<tbody>
{{each(i, row) itemsOnCurrentPage()}}
- <tr>
- {{each(j, columnDefinition) columns}}
- <td>${ typeof columnDefinition.rowText == 'function' ? columnDefinition.rowText(row) : row[columnDefinition.rowText] }</td>
- {{/each}}
- <td id="users-grid-user-id-${row.username()}">
- <a href="#" data-bind="click: function(){ editUserBox(row) }">
- <img src="images/edit-find-22-22.png" title="${$.i18n.prop('edit')}">
- </a>
- </td>
- {{if row.username()=="admin" || row.username()=="guest"}}
- <td></td>
- {{else}}
- <td>
- <a href="#" data-bind="click: function(){ deleteUser(row) }" id="users-grid-delete-${row.username()}">
- <img src="images/edit-cut-22-22.png" alt="${$.i18n.prop('delete')}"/>
- </a>
- </td>
- {{/if}}
- {{if row.locked()==true}}
- <td>
- <a href="#" data-bind="click: function(){ unlock(row) }"><img src="images/system-lock-screen-22-22.png"/></a>
- </td>
- {{else}}
- <td>
- <a href="#" data-bind="click: function(){ lock(row) }"><img src="images/weather-clear-22-22.png"/></a>
- </td>
- {{/if}}
+ <tr data-bind="css:{ 'modified': row.modified()}">
+ {{each(j, columnDefinition) columns}}
+ <td>${ typeof columnDefinition.rowText == 'function' ? columnDefinition.rowText(row) : row[columnDefinition.rowText] }</td>
+ {{/each}}
+ <td id="users-grid-user-id-${row.username()}">
+ <a href="#" data-bind="click: function(){ editUserBox(row) }">
+ <img src="images/edit-find-22-22.png" title="${$.i18n.prop('edit')}">
+ </a>
+ </td>
+ {{if row.username()=="admin" || row.username()=="guest"}}
+ <td></td>
+ {{else}}
+ <td>
+ <a href="#" data-bind="click: function(){ deleteUser(row) }" id="users-grid-delete-${row.username()}">
+ <img src="images/edit-cut-22-22.png" alt="${$.i18n.prop('delete')}"/>
+ </a>
+ </td>
+ {{/if}}
+ {{if row.locked()==true}}
+ <td>
+ <a href="#" data-bind="click: function(){ unlock(row) }"><img src="images/system-lock-screen-22-22.png"/></a>
+ </td>
+ {{else}}
+ <td>
+ <a href="#" data-bind="click: function(){ lock(row) }"><img src="images/weather-clear-22-22.png"/></a>
+ </td>
+ {{/if}}
- {{if row.passwordChangeRequired()==true}}
- <td>
- <a href="#" data-bind="click: function(){ passwordChangeRequire(row,false) }">
- <img src="images/dialog-error-22-22.png"/>
- </a>
- </td>
- {{else}}
- <td>
- <a href="#" data-bind="click: function(){ passwordChangeRequire(row,true) }">
- <img src="images/weather-clear-22-22.png"/>
- </a>
- </td>
- {{/if}}
- </tr>
+ {{if row.passwordChangeRequired()==true}}
+ <td>
+ <a href="#" data-bind="click: function(){ passwordChangeRequire(row,false) }">
+ <img src="images/dialog-error-22-22.png"/>
+ </a>
+ </td>
+ {{else}}
+ <td>
+ <a href="#" data-bind="click: function(){ passwordChangeRequire(row,true) }">
+ <img src="images/weather-clear-22-22.png"/>
+ </a>
+ </td>
+ {{/if}}
+ </tr>
{{/each}}
</tbody>