@** * Yona, 21st Century Project Hosting SW * * Copyright Yona & Yobi Authors & NAVER Corp. & NAVER LABS Corp. * https://yona.io **@ @import models.enumeration.ResourceType @(comment:Comment, action:String, contents:String, isAllowedUpdate:Boolean) @import utils.AccessControl._ @files = @{ if(comment.isInstanceOf[IssueComment]) { AttachmentApp.getFileList(ResourceType.ISSUE_COMMENT, comment.id) } else { AttachmentApp.getFileList(ResourceType.NONISSUE_COMMENT, comment.id) } } @resourceType = @{ if(comment.isInstanceOf[IssueComment]) { ResourceType.ISSUE_COMMENT } else { ResourceType.NONISSUE_COMMENT } }