-@(replyForm: Form[forms.ReplyForm], id: Long, partId: Long, notifyType: Long, replyType: Long, state: Long, reply:Reply)(implicit lang: Lang)
+@(replyForm: Form[forms.ReplyForm], id: Long, partId: Long, designChangeId: Long, notifyType: Long, replyType: Long, state: Long, reply:Reply)(implicit lang: Lang)
@import helper._
@implicitFiedConstructor = @{FieldConstructor(twitterBootstrapInput.f)}
@main("showReply by Play 2.1") {
<h1>@Messages("title18")</h1>
- @form(routes.ReplyController.appendAtach(id, partId, notifyType, replyType, state), 'enctype -> "multipart/form-data") {
+ @form(routes.ReplyController.appendAtach(id, partId, designChangeId, notifyType, replyType, state), 'enctype -> "multipart/form-data") {
@commonReplyForm(replyForm, replyType)
<input type="submit" value=@Messages("list.header5") class="btn success">
}
}
</table>
<hr />
- <a href="/notifylist?page=0&partId=@partId¬ifyType=@notifyType&state=@state">@Messages("notify.type" + notifyType)@Messages("list.link19")</a>
+ @if(partId != 0) {
+ <a href="/notifylist?page=0&partId=@partId¬ifyType=@notifyType&state=@state">@Messages("notify.type" + notifyType)@Messages("list.link19")</a>
+ } else {
+ <a href="/designChangeNotifylist?page=0&designChangeId=@designChangeId¬ifyType=@notifyType&state=@state">@Messages("notify.type"+notifyType)@Messages("list.link19")</a>
+
+ }
}
\ No newline at end of file