src/main/kotlin/de/uapcore/lightpit/viewmodel/Issues.kt

changeset 292
703591e739f4
parent 291
bcf05cccac6f
equal deleted inserted replaced
291:bcf05cccac6f 292:703591e739f4
100 } 100 }
101 101
102 data class CommitLink(val url: String, val hash: String, val message: String) 102 data class CommitLink(val url: String, val hash: String, val message: String)
103 103
104 class IssueDetailView( 104 class IssueDetailView(
105 val pathInfos: PathInfos,
105 val issue: Issue, 106 val issue: Issue,
106 val comments: List<IssueComment>, 107 val comments: List<IssueComment>,
107 val project: Project, 108 val project: Project,
108 val version: Version?,
109 val component: Component?,
110 projectIssues: List<Issue>, 109 projectIssues: List<Issue>,
111 val currentRelations: List<IssueRelation>, 110 val currentRelations: List<IssueRelation>,
112 /** 111 /**
113 * Optional resource key to an error message for the relation editor. 112 * Optional resource key to an error message for the relation editor.
114 */ 113 */
166 val issue: Issue, 165 val issue: Issue,
167 val versions: List<Version>, 166 val versions: List<Version>,
168 val components: List<Component>, 167 val components: List<Component>,
169 val users: List<User>, 168 val users: List<User>,
170 val project: Project, // TODO: allow null values to create issues from the IssuesServlet 169 val project: Project, // TODO: allow null values to create issues from the IssuesServlet
171 val version: Version? = null, 170 val pathInfos: PathInfos
172 val component: Component? = null
173 ) : EditView() { 171 ) : EditView() {
174 172
175 val versionsUpcoming: List<Version> 173 val versionsUpcoming: List<Version>
176 val versionsRecent: List<Version> 174 val versionsRecent: List<Version>
177 175

mercurial