Skip to content

Commit a5c33c7

Browse files
committed
Fix mistakes in patches for v1.23.7
1 parent 01c1a59 commit a5c33c7

File tree

2 files changed

+10
-9
lines changed

2 files changed

+10
-9
lines changed

patches/0006-BLENDER-Projects-button-to-show-hide-issue-details-a.patch

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@ diff --git a/templates/projects/view.tmpl b/templates/projects/view.tmpl
1717
index 966d3bf604..7f97b13c7d 100644
1818
--- a/templates/projects/view.tmpl
1919
+++ b/templates/projects/view.tmpl
20-
@@ -20,6 +20,16 @@
20+
@@ -19,6 +19,16 @@
21+
"TextNegativeOne" (ctx.Locale.Tr "repo.issues.filter_assginee_no_assignee")
2122
}}
2223
</div>
2324
+ <div class="ui compact mini menu" style="margin-left: auto; margin-right: 1em;">
@@ -33,7 +34,7 @@ index 966d3bf604..7f97b13c7d 100644
3334
{{if $canWriteProject}}
3435
<div class="ui compact mini menu">
3536
<a class="item" href="{{.Link}}/edit?redirect=project">
36-
@@ -169,7 +179,7 @@
37+
@@ -168,7 +178,7 @@
3738
<div class="divider"{{if .Color}} style="color: {{ContrastColor .Color}} !important"{{end}}></div>
3839
<div class="ui cards" data-url="{{$.Link}}/{{.ID}}" data-project="{{$.Project.ID}}" data-board="{{.ID}}" id="board_{{.ID}}">
3940
{{range (index $.IssuesMap .ID)}}
@@ -42,10 +43,10 @@ index 966d3bf604..7f97b13c7d 100644
4243
{{template "repo/issue/card" (dict "Issue" . "Page" $)}}
4344
</div>
4445
{{end}}
45-
@@ -179,6 +189,37 @@
46+
@@ -178,6 +188,37 @@
4647
</div>
4748
</div>
48-
49+
4950
+<script>
5051
+ keyDetails = 'project-show-issue-details:{{.Repository.FullName | JSEscape}}:{{.Project.ID}}';
5152
+ keyClosed = 'project-show-issue-closed:{{.Repository.FullName | JSEscape}}:{{.Project.ID}}';
@@ -137,7 +138,7 @@ index 2e19e86d7a..e27cf1cbb7 100644
137138
</div>
138139
{{end}}
139140
</div>
140-
141+
141142
- {{if or .Labels .Assignees}}
142143
+ {{if or .Labels}}
143144
<div class="issue-card-bottom">

patches/0017-BLENDER-spam-reporting.patch

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -474,9 +474,9 @@ index ae5f51d403..4bf65eb065 100644
474474
+ // BLENDER: spam reporting
475475
+ mid = append(mid, admin.GetPendingSpamReports)
476476

477-
others := web.NewRouter()
478-
others.Use(mid...)
479-
@@ -676,6 +678,9 @@ func registerRoutes(m *web.Router) {
477+
webRoutes := web.NewRouter()
478+
webRoutes.Use(mid...)
479+
@@ -676,6 +678,9 @@ func registerWebRoutes(m *web.Router) {
480480
m.Get("", user_setting.BlockedUsers)
481481
m.Post("", web.Bind(forms.BlockUserForm{}), user_setting.BlockedUsersPost)
482482
})
@@ -486,7 +486,7 @@ index ae5f51d403..4bf65eb065 100644
486486
}, reqSignIn, ctxDataSet("PageIsUserSettings", true, "EnablePackages", setting.Packages.Enabled))
487487

488488
m.Group("/user", func() {
489-
@@ -748,6 +753,13 @@ func registerRoutes(m *web.Router) {
489+
@@ -748,6 +753,13 @@ func registerWebRoutes(m *web.Router) {
490490
m.Post("/delete", admin.DeleteEmail)
491491
})
492492

0 commit comments

Comments
 (0)