[PR #4385/53130f27 backport][stable-4.8] community Sync - disable without a requirements file .. on the detail screen #4389
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This is a backport of PR #4385 as merged into master (53130f2).
Issue: AAH-2360
Make it possible to disable the Sync action based on the repository's remote ..only on the detail screen
(the list screen would need to do 1+N requests to get the remote detail for each list item .. or create some on-demand action dropdowns)
This will only kick in when the remote url is
https://galaxy.ansible.com/api/
. Other remotes can be synced without requirements.