tangled
alpha
login
or
join now
sullen.net
/
core
forked from
tangled.org/core
0
fork
atom
Monorepo for Tangled
0
fork
atom
overview
issues
pulls
pipelines
appview: issues: fix missing close button
oppi.li
10 months ago
434b3f93
cd60c898
+3
-2
1 changed file
expand all
collapse all
unified
split
appview
pages
templates
repo
issues
issue.html
+3
-2
appview/pages/templates/repo/issues/issue.html
···
98
98
99
99
{{ $isIssueAuthor := and .LoggedInUser (eq .LoggedInUser.Did .Issue.OwnerDid) }}
100
100
{{ $isRepoCollaborator := .RepoInfo.Roles.IsCollaborator }}
101
101
-
{{ if and (or $isIssueAuthor $isRepoCollaborator) (eq .State "open") }}
101
101
+
{{ $isRepoOwner := .RepoInfo.Roles.IsOwner }}
102
102
+
{{ if and (or $isIssueAuthor $isRepoCollaborator $isRepoOwner) (eq .State "open") }}
102
103
<button
103
104
id="close-button"
104
105
type="button"
···
138
139
}
139
140
});
140
141
</script>
141
141
-
{{ else if and (or $isIssueAuthor $isRepoCollaborator) (eq .State "closed") }}
142
142
+
{{ else if and (or $isIssueAuthor $isRepoCollaborator $isRepoOwner) (eq .State "closed") }}
142
143
<button
143
144
type="button"
144
145
class="btn flex items-center gap-2"