forgejo/templates
Giteabot 9f7a51d3d7
Fix wrong line number in code search result (#29260) (#29623)
Backport #29260 by @yp05327

Fix #29136

Before:
The result is a table and all line numbers are all in one row.

![image](https://github.com/go-gitea/gitea/assets/18380374/7a18b354-e257-4f57-a5ca-f6d37378edf6)

![image](https://github.com/go-gitea/gitea/assets/18380374/98416e11-89b5-4b4f-920b-91bcf041a87f)

After:

![image](https://github.com/go-gitea/gitea/assets/18380374/f189e436-9046-4431-926a-cd0deb58e8f1)

![image](https://github.com/go-gitea/gitea/assets/18380374/07d213ed-2401-4b7f-b951-5df7dc776af4)

~~Updated:~~
~~added `active` class to the target line.~~

![image](https://github.com/go-gitea/gitea/assets/18380374/0b274e48-048a-4c66-ba95-df515212ec08)

Co-authored-by: yp05327 <576951401@qq.com>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
(cherry picked from commit 9db426ad8c7122633fa3e31a427fd1e65ddad334)
2024-03-10 18:45:59 +07:00
..
admin Convert visibility to number (#29226) (#29244) 2024-02-20 09:36:28 +01:00
api/packages/pypi Remove incorrect HTML self close tag (#23748) 2023-03-27 18:05:51 +02:00
base [GITEA] Check for Commit in opengraph 2024-01-05 14:26:20 +01:00
code Fix wrong line number in code search result (#29260) (#29623) 2024-03-10 18:45:59 +07:00
custom Add footer extra links template (#9576) 2020-01-03 20:41:56 +02:00
devtest Improve dropdown button alignment and fix hover bug (#27632) (#27637) 2023-10-16 16:15:15 +08:00
explore Only use supported sort order for "explore/users" page (#29430) (#29443) 2024-03-10 18:45:59 +07:00
mail [GITEA] notifies admins on new user registration (squash) fix URL 2023-12-24 14:41:12 +00:00
org Fix project counter in organization/individual profile (#28068) (#29361) 2024-03-06 12:20:42 +08:00
package Do not display search box when there's no packages yet (#28146) (#28159) 2023-11-22 17:12:12 +01:00
projects Use full width for project boards (#28225) (#28245) 2023-12-08 13:40:59 +01:00
repo Fix wrong line number in code search result (#29260) (#29623) 2024-03-10 18:45:59 +07:00
shared Fix wrong line number in code search result (#29260) (#29623) 2024-03-10 18:45:59 +07:00
status Clean up template locale usage (#27856) (#27857) 2023-10-31 17:35:55 +01:00
swagger Forbid removing the last admin user (#28337) (#28793) 2024-01-16 14:41:11 +00:00
user Fix template bug (#27581) (#29446) 2024-03-10 18:07:56 +07:00
webhook [BRANDING] add the forgejo webhook type & update webhook docs URLs 2023-11-13 13:58:18 +01:00
home.tmpl Backport ctx locale refactoring manually (#27231) (#27259) (#27260) 2023-09-25 13:15:51 +00:00
install.tmpl Merge branch 'rebase-v1.21/forgejo-branding' into wip-v1.21-forgejo 2023-11-13 16:47:18 +01:00
post-install.tmpl [BRANDING] Custom loading animation for Forgejo 2023-11-13 13:58:17 +01:00