diff options
author | Daniel Calviño Sánchez <danxuliu@gmail.com> | 2019-01-30 02:16:50 +0300 |
---|---|---|
committer | Daniel Calviño Sánchez <danxuliu@gmail.com> | 2019-01-30 02:16:50 +0300 |
commit | a94fa97350056b600f3d06cd6e500a0ce2ab12d6 (patch) | |
tree | 467e863ee44f44db1d88d4cfe57eb2ef4f8af16f /core | |
parent | 355edcee74cc304ee124c6f68684007f5cc6ebe4 (diff) |
Fix template format
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
Diffstat (limited to 'core')
-rw-r--r-- | core/js/sharedialoglinkshareview.js | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/core/js/sharedialoglinkshareview.js b/core/js/sharedialoglinkshareview.js index 801f245f6e8..bb1dcf2b2bd 100644 --- a/core/js/sharedialoglinkshareview.js +++ b/core/js/sharedialoglinkshareview.js @@ -85,16 +85,20 @@ ' <label for="sharingDialogAllowPublicEditing-{{cid}}">{{publicEditingLabel}}</label>' + ' </span></li>' + '{{/if}}' + - ' <li><span class="shareOption menuitem">' + + '<li>' + + ' <span class="shareOption menuitem">' + ' <input type="checkbox" name="showPassword" id="showPassword-{{cid}}" class="checkbox showPasswordCheckbox"' + ' {{#if isPasswordSet}}checked="checked"{{/if}} {{#if isPasswordEnforced}}disabled="disabled"{{/if}} value="1" />' + ' <label for="showPassword-{{cid}}">{{enablePasswordLabel}}</label>' + - ' </span></li>' + - ' <li class="{{#unless isPasswordSet}}hidden{{/unless}} linkPassMenu"><span class="shareOption menuitem icon-share-pass">' + - ' <input id="linkPassText-{{cid}}" class="linkPassText" type="password" placeholder="{{passwordPlaceholder}}" autocomplete="new-password" />' + - ' <input type="submit" class="icon-confirm share-pass-submit" value="" />' + - ' <span class="icon icon-loading-small hidden"></span>' + - ' </span></li>' + + ' </span>' + + '</li>' + + '<li class="{{#unless isPasswordSet}}hidden{{/unless}} linkPassMenu">' + + ' <span class="shareOption menuitem icon-share-pass">' + + ' <input id="linkPassText-{{cid}}" class="linkPassText" type="password" placeholder="{{passwordPlaceholder}}" autocomplete="new-password" />' + + ' <input type="submit" class="icon-confirm share-pass-submit" value="" />' + + ' <span class="icon icon-loading-small hidden"></span>' + + ' </span>' + + '</li>' + '<li>' + ' <span class="shareOption menuitem">' + ' <input id="expireDate-{{cid}}" type="checkbox" name="expirationDate" class="expireDate checkbox"' + |