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 =
451
451
452
452
else
453
453
( 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."
456
455
)
457
456
458
457
Failure _ ->
@@ -527,10 +526,17 @@ viewPageContent project model =
527
526
]
528
527
]
529
528
]
529
+
530
+ collaborators =
531
+ if Project . isPublic project || project. isPremiumProject then
532
+ viewCollaborators model
533
+
534
+ else
535
+ UI . nothing
530
536
in
531
537
PageContent . oneColumn
532
538
[ div [ class " settings-content" , class stateClass ]
533
- ( viewCollaborators model :: formAndActions)
539
+ ( collaborators :: formAndActions)
534
540
]
535
541
|> pageTitle_
536
542
You can’t perform that action at this time.
0 commit comments