summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2015-08-10 23:56:04 +0800
committerUnknwon <u@gogs.io>2015-08-10 23:56:04 +0800
commit64985c7faacb15651f9187c37b308632830be869 (patch)
tree2abb02a168a6aaf0628ea73bc495271295a16f57
parentc0ebde75918e400cd8819aab869d93db0bdbfc32 (diff)
downloadgitea-64985c7faacb15651f9187c37b308632830be869.tar.gz
gitea-64985c7faacb15651f9187c37b308632830be869.zip
fix template error
-rw-r--r--models/issue.go1
-rw-r--r--templates/org/team/repositories.tmpl2
2 files changed, 1 insertions, 2 deletions
diff --git a/models/issue.go b/models/issue.go
index 2b77597129..2b67b11c19 100644
--- a/models/issue.go
+++ b/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 {
diff --git a/templates/org/team/repositories.tmpl b/templates/org/team/repositories.tmpl
index 31b6477ca1..33d4dea854 100644
--- a/templates/org/team/repositories.tmpl
+++ b/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>