Insert Link
    {{#if hasSections}}
  • Section
  • {{/if}} {{#if hasAttachments}}
  • Attachment
  • {{/if}}
  • Search
  • Network
{{#if showSections}}

Link to content within this document

{{ui/ui-list-picker items=candidates.pages nameField="title" singleSelect=true onSelect=(action "setSelection")}}
{{/if}} {{#if showAttachments}}

Link to an attachment within this document

    {{#each candidates.attachments as |item|}}
  • {{item.title}}
    {{#if item.selected}} {{/if}}
  • {{/each}}
{{/if}} {{#if showSearch}}
{{focus-input id="content-linker-search" type="input" class="form-control" value=keywords placeholder="keyword search" autocomplete="off" key-up=(action "onSearch")}} Document name, content, attachment name
{{#unless hasMatches}}

Nothing found.

{{/unless}}
    {{#each matches.documents as |item|}}
  • {{item.title}}
    {{item.context}}
    {{#if item.selected}} {{/if}}
  • {{/each}} {{#each matches.pages as |item|}}
  • {{item.title}}
    {{item.context}}
    {{#if item.selected}} {{/if}}
  • {{/each}} {{#each matches.attachments as |item|}}
  • {{item.title}}
    {{#if item.selected}} {{/if}}
  • {{/each}}
{{/if}} {{#if showNetwork}}

Specify network drive/share/folder location

{{focus-input id="content-linker-networklocation" type="input" class="form-control" value=networkLocation placeholder="e.g. //share/folder" autocomplete="off"}}
{{/if}}
{{ui/ui-button color=constants.Color.Gray light=true label=constants.Label.Close dismiss=true}} {{ui/ui-button-gap}} {{ui/ui-button color=constants.Color.Green light=true label=constants.Label.Insert onClick=(action "onInsertLink")}}