Skip to content
Snippets Groups Projects
Commit 006a1608 authored by Steinwender, Tamara's avatar Steinwender, Tamara
Browse files

Add id to clipboard for testing purposes

parent 8842b961
No related branches found
No related tags found
No related merge requests found
Pipeline #51347 passed
......@@ -575,19 +575,19 @@ export class Clipboard extends ScopedElementsMixin(AdapterLitElement) {
return html`
<div class="flex-container additional-button-container">
<div class="btn-flex-container-mobile">
<button @click="${() => { this.openFileSource(); }}"
<button id="clipboard-add-files-button" @click="${() => { this.openFileSource(); }}"
class="button ${classMap({hidden: this.mode === MODE_FILE_SINK || this.mode === MODE_FILE_SOURCE})}" title="${i18n.t('clipboard.add-files')}"
?disabled="${this.buttonsDisabled}">
<dbp-icon class="nav-icon" name="clipboard"></dbp-icon> ${i18n.t('clipboard.add-files-btn')}
</button>
<button @click="${() => { this.clearClipboard(); }}"
<button id="clipboard-remove-files-button" @click="${() => { this.clearClipboard(); }}"
class="button" title="${(this.numberOfSelectedFiles > 0) ? i18n.t('clipboard.remove-count', {count: this.numberOfSelectedFiles}) : i18n.t('clipboard.remove-all')}"
?disabled="${buttonsAreDisabled}">
${(this.numberOfSelectedFiles > 0) ? i18n.t('clipboard.remove-count-btn', {count: this.numberOfSelectedFiles}) : i18n.t('clipboard.remove-all-btn')}
</button>
</div>
<div class="btn-flex-container-mobile">
<button @click="${() => { this.openFileSink(); }}"
<button id="clipboard-save-files-button" @click="${() => { this.openFileSink(); }}"
?disabled="${buttonsAreDisabled}"
class="button" title="${(this.numberOfSelectedFiles > 0) ? i18n.t('clipboard.save-count', {count: this.numberOfSelectedFiles}) : i18n.t('clipboard.save-all')}">
${(this.numberOfSelectedFiles > 0) ? i18n.t('clipboard.save-count-btn', {count: this.numberOfSelectedFiles}) : i18n.t('clipboard.save-all-btn')}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment