File tree Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -451,8 +451,7 @@ viewPageContent project model =
451451
452452 else
453453 ( overlay_
454- , div [ class " collaborators_empty-state_text" ]
455- [ Icon . view Icon . bulb, text " Public organizations only support public projects" ]
454+ , StatusBanner . info " Changing visibility is not supported for public organizations."
456455 )
457456
458457 Failure _ ->
@@ -527,10 +526,17 @@ viewPageContent project model =
527526 ]
528527 ]
529528 ]
529+
530+ collaborators =
531+ if Project . isPublic project || project. isPremiumProject then
532+ viewCollaborators model
533+
534+ else
535+ UI . nothing
530536 in
531537 PageContent . oneColumn
532538 [ div [ class " settings-content" , class stateClass ]
533- ( viewCollaborators model :: formAndActions)
539+ ( collaborators :: formAndActions)
534540 ]
535541 |> pageTitle_
536542
You can’t perform that action at this time.
0 commit comments