{if !$file.frontend_url}

{sprintf('[`You need the settlement of Files to create public link. Use Site to create new settlement.`]', $site_url)}

{else}
  • {if $file.type === filesFileModel::TYPE_FILE}[`Link to this file`]{else}[`Link to this folder`]{/if}

[`Right now this content is private and can be viewed by authorized backend users only. Enabling public link option will create a secret direct link that you can send to other people so they can access and download this content too.`]

{/if}