@(notifies: scala.collection.mutable.ArrayBuffer[beans.NotifyBean], maxColumn: Int, partId: Long, designChangeId: Long, partName: String, page: Int, notifyType: Long, state: Long)(implicit lang: Lang)
@import helper._
@*******************************************
* Helper generating navigation links *
*******************************************@
@link(newPage: Int) = @{
routes.NotifyController.listRecursion(newPage, partId, notifyType, state)
}
@main("Notify Lists by Play 2.1") {
@partName @Messages("notify.type"+notifyType)@Messages("title15")
@form(action=routes.NotifyController.listRecursion(page, partId, notifyType, state)) {
@Messages("list.header9")
}
| @Messages("list.header8") | @Messages("form.header1") | @Messages("list.header7") | @Messages("list.header9") |
@for(notify <- notifies) {
@if(notify.notifyLevel==0) {
@if(notifyType==0 || notifyType==3) {
@Messages("notify.type0")
} else {
@Messages("notify.type1")
}
} else {
@Messages("list.data1")@notify.notifyLevel
}
|
@if(notify.notifyLevel==0) {
} else {
}
@notify.message |
|
@notify.notifyUserName |
@notify.state |
}
@if(partId != 0) {
@Messages("list.link6")
} else {
@Messages("title22")
}
}