1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-12-04 14:46:57 -05:00
gitea/templates
Giteabot 6c5b088aa4
Various improvements for long file and commit names (#30374) (#30386)
Backport #30374 by @silverwind

Fixes: https://github.com/go-gitea/gitea/issues/29438

This contains numerous enhancements for how large commit messages and
large filenames render. Another notable change is that the file path is
no longer cut off by backend at 30 chars, but rendered in full with
wrapping.

<img width="1329" alt="Screenshot 2024-04-09 at 21 53 57"
src="https://github.com/go-gitea/gitea/assets/115237/5ccbb3d6-643a-4f60-ba79-3572b36d5182">
<hr>
<img width="711" alt="Screenshot 2024-04-09 at 21 44 24"
src="https://github.com/go-gitea/gitea/assets/115237/6ffe8fbb-407c-4aa7-b591-3d80daea7d57">
<hr>
<img width="439" alt="Screenshot 2024-04-09 at 21 19 03"
src="https://github.com/go-gitea/gitea/assets/115237/1ec7f6e9-2fd8-4841-87eb-6ca02ab9cd61">
<hr>
<img width="444" alt="Screenshot 2024-04-09 at 21 18 52"
src="https://github.com/go-gitea/gitea/assets/115237/70931b9e-5841-477e-b3bc-98f8d2662964">

Co-authored-by: silverwind <me@silverwind.io>
2024-04-10 08:56:21 +02:00
..
admin Refactor startup deprecation messages (#30305) (#30312) 2024-04-07 09:43:54 +08:00
api/packages/pypi Remove incorrect HTML self close tag (#23748) 2023-03-27 18:05:51 +02:00
base Fix code block style for code preview (#30298) (#30306) 2024-04-06 12:34:38 +00:00
custom Add footer extra links template (#9576) 2020-01-03 20:41:56 +02:00
devtest Add svg linter and fix incorrect svgs (#30086) 2024-03-26 11:19:15 +00:00
explore Migrate margin and padding helpers to tailwind (#30043) 2024-03-24 17:42:49 +01:00
mail Remove unnecessary SanitizeHTML from code (#29575) 2024-03-04 12:02:45 +00:00
org Fix: Organization Interface Display Issue (#30133) 2024-03-27 12:48:09 +00:00
package Some NuGet package enhancements (#30280) (#30324) 2024-04-07 17:13:36 +00:00
projects Fix and rewrite contrast color calculation, fix project-related bugs (#30326) 2024-04-09 09:45:29 +00:00
repo Various improvements for long file and commit names (#30374) (#30386) 2024-04-10 08:56:21 +02:00
shared Refactor file view & render (#30227) (#30229) 2024-04-01 13:39:36 +00:00
status Migrate margin and padding helpers to tailwind (#30043) 2024-03-24 17:42:49 +01:00
swagger Prevent re-review and dismiss review actions on closed and merged PRs (#30065) 2024-03-28 15:19:24 +00:00
user Add --page-spacing variable, fix admin dashboard notice (#30302) (#30323) 2024-04-08 02:04:24 +00:00
webhook Fix incorrect tailwind migration (#30007) 2024-03-22 20:51:29 +01:00
home.tmpl Migrate margin and padding helpers to tailwind (#30043) 2024-03-24 17:42:49 +01:00
install.tmpl Migrate gt-hidden to tw-hidden (#30046) 2024-03-24 18:23:38 +00:00
post-install.tmpl Always use ctx.Locale.Tr inside templates (#27231) 2023-09-25 08:56:50 +00:00