Improve behavior of "Fork" button (#17288)
* Improbe behaviour of fork button * Apply suggestions from code review * Remove old lines * Apply suggestions * Fix test * Remove unnecessary or * Update templates/repo/header.tmpl Co-authored-by: silverwind <me@silverwind.io> * Add comment * Fix situation if you can't fork but don't have forks * Fix lint * Apply changes from #17783 * fmt * fmt * Apply tweaks Co-authored by: silverwind <me@silverwind.io> * Rm dupl css * Fix build Co-authored-by: 6543 <6543@obermui.de> Co-authored-by: silverwind <me@silverwind.io> Co-authored-by: wxiaoguang <wxiaoguang@gmail.com> Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
This commit is contained in:
parent
e0118b0d9b
commit
c3eea2f8af
5 changed files with 97 additions and 5 deletions
|
@ -785,6 +785,8 @@ visibility_fork_helper = (Changing this will affect all forks.)
|
|||
clone_helper = Need help cloning? Visit <a target="_blank" rel="noopener noreferrer" href="%s">Help</a>.
|
||||
fork_repo = Fork Repository
|
||||
fork_from = Fork From
|
||||
already_forked = You've already forked %s
|
||||
fork_to_different_account = Fork to a different account
|
||||
fork_visibility_helper = The visibility of a forked repository cannot be changed.
|
||||
use_template = Use this template
|
||||
clone_in_vsc = Clone in VS Code
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue