You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gitea/templates/repo
silverwind 50099d7af4
Various improvements for long file and commit names (#30374)
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: Giteabot <teabot@gitea.io>
10 months ago
..
actions Migrate margin and padding helpers to tailwind (#30043) 10 months ago
branch Migrate margin and padding helpers to tailwind (#30043) 10 months ago
cite Fix Citation modal responsiveness and clipboard copy (#29799) 11 months ago
code Migrate margin and padding helpers to tailwind (#30043) 10 months ago
diff Various improvements for long file and commit names (#30374) 10 months ago
editor Put an edit file button on pull request files to allow a quick operation (#29697) 10 months ago
find Migrate `gt-hidden` to `tw-hidden` (#30046) 10 months ago
graph Fix `DEFAULT_SHOW_FULL_NAME=false` has no effect in commit list and commit graph page (#30096) 10 months ago
issue Fix spacing in issue navbar (#30238) 10 months ago
migrate Migrate `gt-hidden` to `tw-hidden` (#30046) 10 months ago
projects Migrate margin and padding helpers to tailwind (#30043) 10 months ago
pulls Migrate margin and padding helpers to tailwind (#30043) 10 months ago
release Migrate font-family to tailwind (#30118) 10 months ago
settings Refactor file view & render (#30227) 10 months ago
tag Migrate font-family to tailwind (#30118) 10 months ago
wiki Migrate `gt-hidden` to `tw-hidden` (#30046) 10 months ago
activity.tmpl Implement recent commits graph (#29210) 11 months ago
blame.tmpl Refactor file view & render (#30227) 10 months ago
branch_dropdown.tmpl Migrate margin and padding helpers to tailwind (#30043) 10 months ago
clone_buttons.tmpl Refactor clone-panel styles (#29861) 11 months ago
clone_script.tmpl Fix URL calculation in clone input box (#29470) 11 months ago
code_frequency.tmpl Implement code frequency graph (#29191) 11 months ago
commit_load_branches_and_tags.tmpl Migrate `gt-hidden` to `tw-hidden` (#30046) 10 months ago
commit_page.tmpl Various improvements for long file and commit names (#30374) 10 months ago
commit_status.tmpl Restore warning commit status (#27504) 1 year ago
commit_statuses.tmpl Replace 10 more gt- classes with tw- (#29945) 11 months ago
commits.tmpl Migrate margin and padding helpers to tailwind (#30043) 10 months ago
commits_list.tmpl Fix view commit link (#30297) 10 months ago
commits_list_small.tmpl Migrate font-family to tailwind (#30118) 10 months ago
commits_search_dropdown.tmpl Unify search boxes (#29530) 11 months ago
commits_table.tmpl Migrate margin and padding helpers to tailwind (#30043) 10 months ago
contributors.tmpl Deduplicate translations for contributors graph (#29256) 12 months ago
create.tmpl Migrate `gt-hidden` to `tw-hidden` (#30046) 10 months ago
create_helper.tmpl Remove incorrect and unnecessary Escape from templates (#29394) 11 months ago
empty.tmpl Migrate margin and padding helpers to tailwind (#30043) 10 months ago
file_info.tmpl Migrate font-family to tailwind (#30118) 10 months ago
forks.tmpl Migrate margin and padding helpers to tailwind (#30043) 10 months ago
graph.tmpl Migrate `gt-hidden` to `tw-hidden` (#30046) 10 months ago
header.tmpl Migrate margin and padding helpers to tailwind (#30043) 10 months ago
home.tmpl Various improvements for long file and commit names (#30374) 10 months ago
icon.tmpl Replace 10 more gt- classes with tw- (#29945) 11 months ago
latest_commit.tmpl Fix `DEFAULT_SHOW_FULL_NAME=false` has no effect in commit list and commit graph page (#30096) 10 months ago
navbar.tmpl Implement recent commits graph (#29210) 11 months ago
packages.tmpl Fix inconsistent user profile layout across tabs (#25625) 2 years ago
pulse.tmpl Migrate margin and padding helpers to tailwind (#30043) 10 months ago
recent_commits.tmpl Implement recent commits graph (#29210) 11 months ago
release_tag_header.tmpl Fix menu buttons in issues and release (#30056) 10 months ago
search.tmpl Unify search boxes (#29530) 11 months ago
search_name.tmpl Clean template/helper.go (#23922) 2 years ago
shabox_badge.tmpl cleanup locale function usage (#27227) 1 year ago
star_unstar.tmpl Refactor star/watch button (#29576) 11 months ago
sub_menu.tmpl Migrate `gt-hidden` to `tw-hidden` (#30046) 10 months ago
unicode_escape_prompt.tmpl Replace some `gt-` classes with `tw-` (#29570) 11 months ago
upload.tmpl Always use `ctx.Locale.Tr` inside templates (#27231) 1 year ago
user_cards.tmpl Remove unnecessary "Safe" modifier from templates (#29318) 11 months ago
view_file.tmpl Various improvements for long file and commit names (#30374) 10 months ago
view_list.tmpl Various improvements for long file and commit names (#30374) 10 months ago
watch_unwatch.tmpl Always use `octicon-eye` on watch button (#30288) 10 months ago
watchers.tmpl Fix user-cards format (#24428) 2 years ago