Dynamic tables: title on add and remove buttons.
This commit is contained in:
parent
7781cc805d
commit
d0252383cd
2
client/@types/global.d.ts
vendored
2
client/@types/global.d.ts
vendored
@ -104,3 +104,5 @@ declare const LOC_LIVECHAT_EMOJIS_FILE_DESC: string
|
|||||||
declare const LOC_ACTION_IMPORT: string
|
declare const LOC_ACTION_IMPORT: string
|
||||||
declare const LOC_ACTION_EXPORT: string
|
declare const LOC_ACTION_EXPORT: string
|
||||||
declare const LOC_ACTION_IMPORT_EMOJIS_INFO: string
|
declare const LOC_ACTION_IMPORT_EMOJIS_INFO: string
|
||||||
|
declare const LOC_ACTION_ADD_ENTRY: string
|
||||||
|
declare const LOC_ACTION_REMOVE_ENTRY: string
|
||||||
|
@ -228,7 +228,9 @@ export class DynamicTableFormElement extends LivechatElement {
|
|||||||
<td class="form-group">
|
<td class="form-group">
|
||||||
<button type="button"
|
<button type="button"
|
||||||
class="peertube-button-link orange-button dynamic-table-remove-row"
|
class="peertube-button-link orange-button dynamic-table-remove-row"
|
||||||
@click=${() => this._removeRow(rowData._id)}>
|
.title=${ptTr(LOC_ACTION_REMOVE_ENTRY)}
|
||||||
|
@click=${() => this._removeRow(rowData._id)}
|
||||||
|
>
|
||||||
${unsafeHTML(RemoveSVG)}
|
${unsafeHTML(RemoveSVG)}
|
||||||
</button>
|
</button>
|
||||||
</td>
|
</td>
|
||||||
@ -245,7 +247,9 @@ export class DynamicTableFormElement extends LivechatElement {
|
|||||||
<td>
|
<td>
|
||||||
<button type="button"
|
<button type="button"
|
||||||
class="peertube-button-link orange-button dynamic-table-add-row"
|
class="peertube-button-link orange-button dynamic-table-add-row"
|
||||||
@click=${this._addRow}>
|
.title=${ptTr(LOC_ACTION_ADD_ENTRY)}
|
||||||
|
@click=${this._addRow}
|
||||||
|
>
|
||||||
${unsafeHTML(AddSVG)}
|
${unsafeHTML(AddSVG)}
|
||||||
</button>
|
</button>
|
||||||
</td>
|
</td>
|
||||||
|
@ -511,3 +511,6 @@ livechat_emojis_file_desc: |
|
|||||||
action_import: Import
|
action_import: Import
|
||||||
action_export: Export
|
action_export: Export
|
||||||
action_import_emojis_info: If imported data are okay, don't forgot to save the form.
|
action_import_emojis_info: If imported data are okay, don't forgot to save the form.
|
||||||
|
|
||||||
|
action_add_entry: Add an entry
|
||||||
|
action_remove_entry: Remove this entry
|
||||||
|
Loading…
x
Reference in New Issue
Block a user