diff --git a/options/locale/locale_en-US.ini b/options/locale/locale_en-US.ini index 39f7886c54..74958f977e 100644 --- a/options/locale/locale_en-US.ini +++ b/options/locale/locale_en-US.ini @@ -1211,10 +1211,13 @@ fork_from_self = You cannot fork a repository you own. fork_guest_user = Sign in to fork this repository. watch_guest_user = Sign in to watch this repository. star_guest_user = Sign in to star this repository. -unwatch = Unwatch +subscribe.issue.guest.tooltip = Sign in to subscribe to this issue. +subscribe.pull.guest.tooltip = Sign in to subscribe to this pull request. + watch = Watch -unstar = Unstar +unwatch = Unwatch star = Star +unstar = Unstar fork = Fork download_archive = Download repository more_operations = More operations diff --git a/release-notes/8.0.0/4095.md b/release-notes/8.0.0/4095.md new file mode 100644 index 0000000000..0f072b65c4 --- /dev/null +++ b/release-notes/8.0.0/4095.md @@ -0,0 +1 @@ +Disable Subscribe button for guest users. diff --git a/templates/repo/issue/view_content/sidebar/watching.tmpl b/templates/repo/issue/view_content/sidebar/watching.tmpl index 05936d090b..d3d75946b5 100644 --- a/templates/repo/issue/view_content/sidebar/watching.tmpl +++ b/templates/repo/issue/view_content/sidebar/watching.tmpl @@ -1,6 +1,13 @@ -