Browse Source

fix template error

pull/1466/head
Unknwon 10 years ago
parent
commit
64985c7faa
  1. 1
      models/issue.go
  2. 2
      templates/org/team/repositories.tmpl

1
models/issue.go

@ -353,7 +353,6 @@ type IssueUser struct {
IsClosed bool
}
// FIXME: organization
func newIssueUsers(e *xorm.Session, repo *Repository, issue *Issue) error {
users, err := repo.GetAssignees()
if err != nil {

2
templates/org/team/repositories.tmpl

@ -28,7 +28,7 @@
{{range .Team.Repos}}
<li class="collab">
{{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}}
<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>

Loading…
Cancel
Save