Template
1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo synced 2024-12-02 06:46:10 +01:00
forgejo/templates/shared
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
..
actions [BRANDING] cosmetic s/Gitea/Forgejo/ in logs, messages, etc. 2023-11-13 13:58:17 +01:00
secrets Backport ctx locale refactoring manually (#27231) (#27259) (#27260) 2023-09-25 13:15:51 +00:00
user [MODERATION] Prepare moderation for context locale changes (squash) 2023-11-13 13:58:02 +01:00
variables Backport ctx locale refactoring manually (#27231) (#27259) (#27260) 2023-09-25 13:15:51 +00:00
webhook [BRANDING] add the forgejo webhook type & update webhook docs URLs 2023-11-13 13:58:18 +01:00
blocked_users_list.tmpl [MODERATION] Prepare moderation for context locale changes (squash) 2023-11-13 13:58:02 +01:00
combomarkdowneditor.tmpl cleanup locale function usage (#27227) (#27240) 2023-09-25 00:21:38 +00:00
issueicon.tmpl Rework notifications list (#24812) 2023-05-25 02:31:26 +00:00
issuelist.tmpl Fix wrong due date rendering in issue list page (#28588) (#28591) 2024-01-16 14:07:46 +00:00
searchbottom.tmpl Backport ctx locale refactoring manually (#27231) (#27259) (#27260) 2023-09-25 13:15:51 +00:00
searchfile.tmpl Fix wrong line number in code search result (#29260) (#29623) 2024-03-10 18:45:59 +07:00
searchinput.tmpl cleanup locale function usage (#27227) (#27240) 2023-09-25 00:21:38 +00:00