|
|
|
|
@ -24,15 +24,6 @@
|
|
|
|
|
'<br />' +
|
|
|
|
|
'<label for="linkText-{{cid}}" class="hidden-visually">{{urlLabel}}</label>' +
|
|
|
|
|
'<input id="linkText-{{cid}}" class="linkText {{#unless isLinkShare}}hidden{{/unless}}" type="text" readonly="readonly" value="{{shareLinkURL}}" />' +
|
|
|
|
|
' {{#if showPasswordCheckBox}}' +
|
|
|
|
|
'<input type="checkbox" name="showPassword" id="showPassword-{{cid}}" class="checkbox showPasswordCheckbox" {{#if isPasswordSet}}checked="checked"{{/if}} value="1" />' +
|
|
|
|
|
'<label for="showPassword-{{cid}}">{{enablePasswordLabel}}</label>' +
|
|
|
|
|
' {{/if}}' +
|
|
|
|
|
'<div id="linkPass" class="linkPass {{#unless isPasswordSet}}hidden{{/unless}}">' +
|
|
|
|
|
' <label for="linkPassText-{{cid}}" class="hidden-visually">{{passwordLabel}}</label>' +
|
|
|
|
|
' <input id="linkPassText-{{cid}}" class="linkPassText" type="password" placeholder="{{passwordPlaceholder}}" />' +
|
|
|
|
|
' <span class="icon-loading-small hidden"></span>' +
|
|
|
|
|
'</div>' +
|
|
|
|
|
' {{#if publicUpload}}' +
|
|
|
|
|
'<div id="allowPublicUploadWrapper">' +
|
|
|
|
|
' <span class="icon-loading-small hidden"></span>' +
|
|
|
|
|
@ -40,6 +31,15 @@
|
|
|
|
|
'<label for="sharingDialogAllowPublicUpload-{{cid}}">{{publicUploadLabel}}</label>' +
|
|
|
|
|
'</div>' +
|
|
|
|
|
' {{/if}}' +
|
|
|
|
|
' {{#if showPasswordCheckBox}}' +
|
|
|
|
|
'<input type="checkbox" name="showPassword" id="showPassword-{{cid}}" class="checkbox showPasswordCheckbox" {{#if isPasswordSet}}checked="checked"{{/if}} value="1" />' +
|
|
|
|
|
'<label for="showPassword-{{cid}}">{{enablePasswordLabel}}</label>' +
|
|
|
|
|
' {{/if}}' +
|
|
|
|
|
'<div id="linkPass" class="linkPass {{#unless isPasswordSet}}hidden{{/unless}}">' +
|
|
|
|
|
' <label for="linkPassText-{{cid}}" class="hidden-visually">{{passwordLabel}}</label>' +
|
|
|
|
|
' <input id="linkPassText-{{cid}}" class="linkPassText" type="password" placeholder="{{passwordPlaceholder}}" />' +
|
|
|
|
|
' <span class="icon-loading-small hidden"></span>' +
|
|
|
|
|
'</div>' +
|
|
|
|
|
'{{else}}' +
|
|
|
|
|
// FIXME: this doesn't belong in this view
|
|
|
|
|
'{{#if noSharingPlaceholder}}<input id="shareWith-{{cid}}" class="shareWithField" type="text" placeholder="{{noSharingPlaceholder}}" disabled="disabled"/>{{/if}}' +
|
|
|
|
|
|