1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2025-08-01 17:38:33 +00:00
forgejo/templates/repo
wxiaoguang fba7150ca9
Refactor "shortsha" (#26877)
The old code used complex `if` blocks and strange HTML layouts.

<details>


![image](7fbee2b8-d150-4e6b-b67e-83400fa290eb)

</details>

This PR refactors the template code and remove legacy CSS styles. The UI
doesn't change much.



![image](3e195df9-0ab5-4182-bcb2-bb20cad823f2)


![image](f707a49f-be41-4dfe-871f-2869f2230380)
2023-09-03 02:58:52 +00:00
..
actions
branch
cite
code
diff
editor
find
graph Refactor "shortsha" (#26877) 2023-09-03 02:58:52 +00:00
issue
migrate
projects
pulls
release
settings
tag
wiki
activity.tmpl
blame.tmpl
branch_dropdown.tmpl
clone_buttons.tmpl
clone_script.tmpl
commit_load_branches_and_tags.tmpl
commit_page.tmpl
commit_status.tmpl
commit_statuses.tmpl
commits.tmpl
commits_list.tmpl Refactor "shortsha" (#26877) 2023-09-03 02:58:52 +00:00
commits_list_small.tmpl
commits_table.tmpl
create.tmpl
create_helper.tmpl
empty.tmpl
file_info.tmpl
forks.tmpl
graph.tmpl
header.tmpl
home.tmpl
icon.tmpl
packages.tmpl
release_tag_header.tmpl
search.tmpl
search_name.tmpl
shabox_badge.tmpl
sub_menu.tmpl
unicode_escape_prompt.tmpl
upload.tmpl
user_cards.tmpl
view_file.tmpl
view_list.tmpl Refactor "shortsha" (#26877) 2023-09-03 02:58:52 +00:00
watchers.tmpl