_("Set a password on your account to pull or push via %{protocol}.")%{protocol: protocol}
else
_("Create a personal access token on your account to pull or push via %{protocol}.")%{protocol: protocol}
end
end
content_tag(append_link?:a::span),
protocol_element_output,
class: 'http-selector',
href: (project.http_url_to_repoifappend_link)
end
end
defssh_clone_button(project,append_link: true)
defssh_clone_button(project,append_link: true)
ssh_description=_("You won't be able to pull or push project code via SSH until you add an SSH key to your profile")
dropdown_description=_("You won't be able to pull or push project code via SSH until you add an SSH key to your profile")ifcurrent_user.try(:require_ssh_key?)