diff options
author | yp05327 <576951401@qq.com> | 2023-11-14 13:58:01 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-14 04:58:01 +0000 |
commit | 83c30634a40f21a7b2d5c7b474e78e02d1276ff4 (patch) | |
tree | 08ffb6abeeef9425c886fd1004332a64d40ef15d /templates/admin | |
parent | 5380fd5d6d9fc1f1b280bf39a3906555985987ee (diff) | |
download | gitea-83c30634a40f21a7b2d5c7b474e78e02d1276ff4.tar.gz gitea-83c30634a40f21a7b2d5c7b474e78e02d1276ff4.zip |
Add word break to the repo list in admin settings page (#28034)
Before:
![image](https://github.com/go-gitea/gitea/assets/18380374/ed464937-e20d-4f5b-b997-e86c2d96469d)
After:
![image](https://github.com/go-gitea/gitea/assets/18380374/471e77b3-516e-4ae9-b901-0cf8745eb9aa)
Diffstat (limited to 'templates/admin')
-rw-r--r-- | templates/admin/repo/list.tmpl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/admin/repo/list.tmpl b/templates/admin/repo/list.tmpl index 2581864547..7102f73305 100644 --- a/templates/admin/repo/list.tmpl +++ b/templates/admin/repo/list.tmpl @@ -47,13 +47,13 @@ <tr> <td>{{.ID}}</td> <td> - <a href="{{.Owner.HomeLink}}">{{.Owner.Name}}</a> + <a class="gt-word-break" href="{{.Owner.HomeLink}}">{{.Owner.Name}}</a> {{if .Owner.Visibility.IsPrivate}} <span class="text gold">{{svg "octicon-lock"}}</span> {{end}} </td> <td> - <a href="{{.Link}}">{{.Name}}</a> + <a class="gt-word-break" href="{{.Link}}">{{.Name}}</a> {{if .IsArchived}} <span class="ui basic label">{{ctx.Locale.Tr "repo.desc.archived"}}</span> {{end}} |