mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-10 12:15:43 +01:00
[MODERATION] Fix unblock action (squash)
- Pass the whole context instead of only giving pieces. - This fixes CSRF not correctly being inserted into the unblock buttons. (cherry picked from commit2aa51922ba
) (cherry picked from commit7ee8db0f01
) (cherry picked from commite4f8b999bc
) (cherry picked from commit05aea60b13
) (cherry picked from commitdc0d61b012
) (cherry picked from commitf53fa583de
) (cherry picked from commitc65b89a58d
)
This commit is contained in:
parent
ff233c19c4
commit
69e50b9969
2 changed files with 2 additions and 2 deletions
|
@ -15,7 +15,7 @@
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
<div class="ui attached segment">
|
<div class="ui attached segment">
|
||||||
{{template "shared/blocked_users_list" dict "locale" .locale "BlockedUsers" .BlockedUsers}}
|
{{template "shared/blocked_users_list" .}}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{{template "org/settings/layout_footer" .}}
|
{{template "org/settings/layout_footer" .}}
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
{{.locale.Tr "settings.blocked_users"}}
|
{{.locale.Tr "settings.blocked_users"}}
|
||||||
</h4>
|
</h4>
|
||||||
<div class="ui attached segment">
|
<div class="ui attached segment">
|
||||||
{{template "shared/blocked_users_list" dict "locale" .locale "BlockedUsers" .BlockedUsers}}
|
{{template "shared/blocked_users_list" .}}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{{template "user/settings/layout_footer" .}}
|
{{template "user/settings/layout_footer" .}}
|
||||||
|
|
Loading…
Reference in a new issue