]> source.dussan.org Git - gitea.git/commit
Refactor star/watch button (#29576)
authorwxiaoguang <wxiaoguang@gmail.com>
Mon, 4 Mar 2024 12:56:34 +0000 (20:56 +0800)
committerGitHub <noreply@github.com>
Mon, 4 Mar 2024 12:56:34 +0000 (12:56 +0000)
commit62aa5e2cbd64c90546bbaf849070b42931a4e60b
treecb68a175a5145409f0bea9e2b7c26002d25af607
parentdae7f1ebdbe19620f40e110b285f7c0ecd0bb33b
Refactor star/watch button (#29576)

1. Use "star/unstart", but not `{{if}}un{{}}star{{}}` (the same to "watch/unwatch")
2. Use "not-mobile" for hiding the elements on mobile
templates/repo/star_unstar.tmpl
templates/repo/watch_unwatch.tmpl
web_src/css/repo/header.css