Initial commit
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
{{#if value}}
|
||||
{{{value}}}
|
||||
{{else}}
|
||||
{{#if valueIsSet}}
|
||||
<span class="none-value">{{translate 'None'}}</span>
|
||||
{{else}}
|
||||
<span class="loading-value"></span>
|
||||
{{/if}}
|
||||
{{/if}}
|
||||
38
client/res/templates/fields/attachments-multiple/edit.tpl
Normal file
38
client/res/templates/fields/attachments-multiple/edit.tpl
Normal file
@@ -0,0 +1,38 @@
|
||||
<div class="attachment-upload">
|
||||
<div class="clearfix attachment-control">
|
||||
{{#unless uploadFromFileSystemDisabled}}
|
||||
<div class="pull-left">
|
||||
<label class="attach-file-label" title="{{translate 'Attach File'}}" tabindex="0">
|
||||
<span class="btn btn-default btn-icon"><span class="fas fa-paperclip"></span></span>
|
||||
<input
|
||||
type="file"
|
||||
class="file pull-right"
|
||||
multiple
|
||||
{{#if acceptAttribute}}accept="{{acceptAttribute}}"{{/if}}
|
||||
tabindex="-1"
|
||||
>
|
||||
</label>
|
||||
</div>
|
||||
{{/unless}}
|
||||
|
||||
{{#if sourceList.length}}
|
||||
<div class="pull-left dropdown">
|
||||
<button class="btn btn-default btn-icon dropdown-toggle" type="button" data-toggle="dropdown">
|
||||
<span class="fas fa-file"></span>
|
||||
</button>
|
||||
<ul class="dropdown-menu" role="menu">
|
||||
{{#each sourceList}}
|
||||
<li><a
|
||||
role="button"
|
||||
tabindex="0"
|
||||
class="action"
|
||||
data-action="insertFromSource"
|
||||
data-name="{{./this}}"
|
||||
>{{translate this category='insertFromSourceLabels' scope='Attachment'}}</a></li>
|
||||
{{/each}}
|
||||
</ul>
|
||||
</div>
|
||||
{{/if}}
|
||||
</div>
|
||||
<div class="attachments"></div>
|
||||
</div>
|
||||
@@ -0,0 +1,3 @@
|
||||
{{#if value}}
|
||||
{{{value}}}
|
||||
{{/if}}
|
||||
Reference in New Issue
Block a user