From 77e449f0be43050bf63db718989140f0a75760d7 Mon Sep 17 00:00:00 2001 From: sebastian-sauer Date: Sun, 25 Jun 2023 02:46:30 +0200 Subject: [PATCH] Highlight viewed files differently in the PR filetree (#24956) ![image](https://github.com/go-gitea/gitea/assets/1135157/009d8026-15a1-4d18-8548-1c3642978f57) fixes #24566 --------- Co-authored-by: wxiaoguang --- templates/repo/diff/box.tmpl | 2 +- web_src/js/components/DiffFileTreeItem.vue | 6 +++++- web_src/js/features/pull-view-file.js | 11 ++++++++++- 3 files changed, 16 insertions(+), 3 deletions(-) diff --git a/templates/repo/diff/box.tmpl b/templates/repo/diff/box.tmpl index 67d0434e4..1198452f7 100644 --- a/templates/repo/diff/box.tmpl +++ b/templates/repo/diff/box.tmpl @@ -49,7 +49,7 @@