File tree Expand file tree Collapse file tree 2 files changed +10
-0
lines changed
Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -42,6 +42,7 @@ export class EditFileAttachment extends React.Component {
4242 render ( ) {
4343 const { onCancel, onConfirm, projectMembers, loggedInUser } = this . props
4444 const { title, allowedUsers } = this . state
45+ const showVisibleToAllProjectMembersText = ! ( allowedUsers . length > 0 )
4546 return (
4647 < div className = "modal delete-link-modal" >
4748 < div className = "modal-title danger" >
@@ -57,6 +58,9 @@ export class EditFileAttachment extends React.Component {
5758 loggedInUser = { loggedInUser }
5859 selectedUsers = { this . userIdsToHandles ( allowedUsers ) . join ( ',' ) }
5960 />
61+ { showVisibleToAllProjectMembersText && < div className = "project-members-visible" >
62+ There are no specified file viewers. File will be visible to all project members.
63+ </ div > }
6064 < br />
6165
6266 < div className = "button-area flex center" >
Original file line number Diff line number Diff line change 119119 width : 100% ;
120120 }
121121
122+ .project-members-visible {
123+ margin : 10px 0 ;
124+ line-height : 120% ;
125+ font-size : 12px ;
126+ }
127+
122128 li :before {
123129 content : ' \b7\a0 ' ;
124130 font-size : 200% ;
You can’t perform that action at this time.
0 commit comments