mirror of
https://github.com/go-gitea/gitea
synced 2024-11-22 08:56:32 +01:00
fix template error
This commit is contained in:
parent
c0ebde7591
commit
64985c7faa
2 changed files with 1 additions and 2 deletions
|
@ -353,7 +353,6 @@ type IssueUser struct {
|
||||||
IsClosed bool
|
IsClosed bool
|
||||||
}
|
}
|
||||||
|
|
||||||
// FIXME: organization
|
|
||||||
func newIssueUsers(e *xorm.Session, repo *Repository, issue *Issue) error {
|
func newIssueUsers(e *xorm.Session, repo *Repository, issue *Issue) error {
|
||||||
users, err := repo.GetAssignees()
|
users, err := repo.GetAssignees()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|
|
@ -28,7 +28,7 @@
|
||||||
{{range .Team.Repos}}
|
{{range .Team.Repos}}
|
||||||
<li class="collab">
|
<li class="collab">
|
||||||
{{if $canAddRemove}}
|
{{if $canAddRemove}}
|
||||||
<a class="btn btn-small btn-red btn-radius right" href="{{$.OrgLink}}/teams/{{$.Team.LowerName}}/action/repo/remove?repoid={{.Id}}">{{$.i18n.Tr "org.teams.remove_repo"}}</a>
|
<a class="btn btn-small btn-red btn-radius right" href="{{$.OrgLink}}/teams/{{$.Team.LowerName}}/action/repo/remove?repoid={{.ID}}">{{$.i18n.Tr "org.teams.remove_repo"}}</a>
|
||||||
{{end}}
|
{{end}}
|
||||||
<a class="member" href="{{AppSubUrl}}/{{$.Org.Name}}/{{.Name}}">
|
<a class="member" href="{{AppSubUrl}}/{{$.Org.Name}}/{{.Name}}">
|
||||||
<i class="octicon octicon-{{if .IsPrivate}}lock{{else if .IsFork}}repo-forked{{else if .IsMirror}}repo-clone{{else}}repo{{end}}"></i>
|
<i class="octicon octicon-{{if .IsPrivate}}lock{{else if .IsFork}}repo-forked{{else if .IsMirror}}repo-clone{{else}}repo{{end}}"></i>
|
||||||
|
|
Loading…
Reference in a new issue