Skip to content

Commit a3e2beb

Browse files
committed
remove unncessary spaces
1 parent d55a5ed commit a3e2beb

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

routers/web/repo/issue.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -468,7 +468,6 @@ func issues(ctx *context.Context, milestoneID, projectID int64, isPullOption opt
468468
ctx.Data["PosterID"] = posterID
469469
ctx.Data["Keyword"] = keyword
470470
ctx.Data["IsShowClosed"] = isShowClosed
471-
472471
switch {
473472
case isShowClosed.Value():
474473
ctx.Data["State"] = "closed"

templates/repo/issue/filter_actions.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
{{if not .Repository.IsArchived}}
33
<!-- Action Button -->
44
{{if and .IsShowClosed.Has .IsShowClosed.Value}}
5-
<button class="ui primary basic button issue-action" data-action="open" data-url="{{$.RepoLink}}/issues/status">{{ctx.Locale.Tr "repo.issues.action_open"}}</button>
5+
<button class="ui primary basic button issue-action" data-action="open" data-url="{{$.RepoLink}}/issues/status">{{ctx.Locale.Tr "repo.issues.action_open"}}</button>
66
{{else if and .IsShowClosed.Has (not .IsShowClosed.Value)}}
77
<button class="ui red basic button issue-action" data-action="close" data-url="{{$.RepoLink}}/issues/status">{{ctx.Locale.Tr "repo.issues.action_close"}}</button>
88
{{end}}

0 commit comments

Comments
 (0)