Check for share by link enabled

Display "Shared by link" section only if sharing by link is enabled.