Follow-up from "new layout for project empty page"
The following discussion from !159887 (merged) should be addressed:
-
@psjakubowska started a discussion: (+4 comments) This proposition does not adapt the tabs if HTTPS or SSH git push is disabled on the GitLab instance. That makes the documentation innacurate for these cases and may bring strange behavior. It can be adapted but needs a little more development time. Depending on the feedback I can either implement it here or in another MR.
This could definitely be a follow-up issue. We could check if any of the options are not possible with:
- if ssh_enabled? && http_enabled?
and then create an additional partial that would be rendered instead of the tabs and would just include
default_url_to_repo
.