From 9c1f4dae2ee85b748250ba7b161d70bd529088d3 Mon Sep 17 00:00:00 2001 From: silverwind Date: Sat, 6 Apr 2024 10:25:39 +0200 Subject: [PATCH] Always use `octicon-eye` on watch button (#30288) This might appear odd but I think it's the right thing to do: On Github, the "Watch" button always has the open eye icon: Screenshot 2024-04-05 at 08 26 48 Screenshot 2024-04-05 at 08 26 40 On Gitea, while watching, the icon is this and this sometimes confuses me slightly, being used to above: Screenshot 2024-04-05 at 08 29 08 After this PR, both states will use the same icon: Screenshot 2024-04-05 at 08 26 27 Screenshot 2024-04-05 at 08 26 33 --- templates/repo/watch_unwatch.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/repo/watch_unwatch.tmpl b/templates/repo/watch_unwatch.tmpl index 2bf2c7bd21..64be971416 100644 --- a/templates/repo/watch_unwatch.tmpl +++ b/templates/repo/watch_unwatch.tmpl @@ -3,7 +3,7 @@ {{$buttonText := ctx.Locale.Tr "repo.watch"}} {{if $.IsWatchingRepo}}{{$buttonText = ctx.Locale.Tr "repo.unwatch"}}{{end}}