Skip to content

Commit

Permalink
Fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
CodeDoctorDE committed Aug 3, 2022
1 parent 5cfdc20 commit 5bbe2a1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion routers/web/user/home.go
Original file line number Diff line number Diff line change
Expand Up @@ -619,7 +619,7 @@ func buildIssueOverview(ctx *context.Context, unitType unit.Type) {
}
}
if len(repoIDs) == 1 {
var repo = showReposMap[repoIDs[0]]
repo := showReposMap[repoIDs[0]]
if repo != nil {
ctx.Data["Repo"] = repo.OwnerName + "/" + repo.Name
}
Expand Down
2 changes: 1 addition & 1 deletion templates/user/dashboard/issues_create.tmpl
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{{if .Repo}}
<a class="ui green button" href="{{AppSubUrl}}/{{.Repo}}/issues/new">{{.locale.Tr "repo.issues.new"}}</a>
{{end}}
{{end}}

0 comments on commit 5bbe2a1

Please sign in to comment.