Template
1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo synced 2024-11-29 21:26:10 +01:00

Fix user-cards format (#24428) (#24431)

Backport #24428 by @KN4CK3R

Fixes #24418

Co-authored-by: KN4CK3R <admin@oldschoolhack.me>
This commit is contained in:
Giteabot 2023-04-29 22:05:34 -04:00 committed by GitHub
parent e76b3f72b2
commit 7d7ba76c08
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 2 deletions

View file

@ -1,4 +1,4 @@
<div class="ui container user-cards"> <div class="user-cards">
{{if .CardsTitle}} {{if .CardsTitle}}
<h2 class="ui dividing header"> <h2 class="ui dividing header">
{{.CardsTitle}} {{.CardsTitle}}

View file

@ -1,6 +1,8 @@
{{template "base/head" .}} {{template "base/head" .}}
<div role="main" aria-label="{{.Title}}" class="page-content repository watchers"> <div role="main" aria-label="{{.Title}}" class="page-content repository watchers">
{{template "repo/header" .}} {{template "repo/header" .}}
<div class="ui container">
{{template "repo/user_cards" .}} {{template "repo/user_cards" .}}
</div>
</div> </div>
{{template "base/footer" .}} {{template "base/footer" .}}