{{#each sources as |source id|}}
{{source.label}}
{{/each}}
{{#if user.isGM}} {{#if canUpload}}
{{/if}}
{{/if}}
{{ localize "FILES.FavoritesLabel" }}
{{#each favorites }}
{{ this.label }}
{{/each}}
{{#if isS3}}
{{ localize "FILES.S3Label" }}
{{#select source.bucket}} {{#each source.buckets}}
{{this}}
{{/each}} {{/select}}
{{/if}}
{{ localize "FILES.FilterLabel" }}
{{ localize "FILES.DisplayMode" }}
{{#if tileSize}}
{{ localize "FILES.TileSize" }}
{{ numberInput tileSize name="tileSize" placeholder=(localize "FILES.InPixels") }}
{{ localize "FILES.UnitPixels" }}
{{ localize "FILES.TileSizeHint" }}
{{/if}}
{{#if dirs}}
{{#each dirs}}
{{this.name}}
{{/each}}
{{/if}} {{#if files}} {{#if (eq displayMode "list")}}
{{#each files}}
{{this.name}}
{{/each}}
{{else if (eq displayMode "thumbs")}}
{{#each files}}
{{this.name}}
{{/each}}
{{else if (eq displayMode "tiles")}}
{{#each files}}
{{/each}}
{{else if (eq displayMode "images")}}
{{#each files}}
{{this.name}}
{{/each}}
{{/if}} {{/if}} {{#if noResults}}
{{ localize "FILES.NoResults" }}
{{/if}}
{{#if canUpload}}
{{ localize "FILES.Upload" }}
{{/if}} {{#if canSelect}}
{{ localize "FILES.Selected" }}
{{/if}}