| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495 | template(name="attachments")  .setting-content.attachments-content    unless currentUser.isAdmin      | {{_ 'error-notAuthorized'}}    else      .content-body        .side-menu          ul            li              a.js-move-attachments(data-id="move-attachments")                i.fa.fa-arrow-right                | {{_ 'attachment-move'}}        .main-body          if loading.get            +spinner          else if showMoveAttachments.get            +moveAttachmentstemplate(name="moveAttachments")  .move-attachment-buttons    .js-move-attachment      button.js-move-all-attachments-to-fs {{_ 'move-all-attachments-to-fs'}}    .js-move-attachment      button.js-move-all-attachments-to-gridfs {{_ 'move-all-attachments-to-gridfs'}}    .js-move-attachment      button.js-move-all-attachments-to-s3 {{_ 'move-all-attachments-to-s3'}}  each board in getBoardsWithAttachments    +moveBoardAttachments boardtemplate(name="moveBoardAttachments")  hr  .board-description    table      tr        th {{_ 'board'}} ID        th {{_ 'board-title'}}      tr        td {{ _id }}        td {{ title }}  .move-attachment-buttons    .js-move-attachment      button.js-move-all-attachments-of-board-to-fs {{_ 'move-all-attachments-of-board-to-fs'}}    .js-move-attachment      button.js-move-all-attachments-of-board-to-gridfs {{_ 'move-all-attachments-of-board-to-gridfs'}}    .js-move-attachment      button.js-move-all-attachments-of-board-to-s3 {{_ 'move-all-attachments-of-board-to-s3'}}  .board-attachments    table      tr        th {{_ 'card'}}-Id        th {{_ 'attachment'}}-Id        th {{_ 'name'}}        th {{_ 'path'}}        th {{_ 'version-name'}}        th {{_ 'size'}}        th GridFsFileId        th {{_ 'storage'}}        th {{_ 'action'}}      each attachment in attachments        +moveAttachment attachmenttemplate(name="moveAttachment")  each version in flatVersion    tr      td {{ meta.cardId }}      td {{ _id }}      td {{ name }}      td {{ version.path }}      td {{ version.versionName }}      td {{ fileSize version.size }}      td {{ version.meta.gridFsFileId }}      td {{ version.meta.s3FileId }}      td {{ version.storageName }}      td        if $neq version.storageName "fs"          button.js-move-storage-fs            i.fa.fa-arrow-right            | {{_ 'attachment-move-storage-fs'}}        if $neq version.storageName "gridfs"          if version.storageName            button.js-move-storage-gridfs              i.fa.fa-arrow-right              | {{_ 'attachment-move-storage-gridfs'}}        if $neq version.storageName "s3"          if version.storageName            button.js-move-storage-s3              i.fa.fa-arrow-right              | {{_ 'attachment-move-storage-s3'}}
 |