loleaflet/admin/admin.strings.js | 1 + loleaflet/admin/src/AdminSocketOverview.js | 1 + 2 files changed, 2 insertions(+)
New commits: commit 758b82ee19cf7cc63f3e28aae2d377fe8b18051a Author: gokaysatir <gokaysa...@collabora.com> AuthorDate: Mon Aug 10 10:43:03 2020 +0300 Commit: Michael Meeks <michael.me...@collabora.com> CommitDate: Mon Aug 10 15:44:34 2020 +0200 Admin Console: Add tooltip to kill session button. Change-Id: I5a6117741c9635c52dc3768cebec66214e1fcbe7 Reviewed-on: https://gerrit.libreoffice.org/c/online/+/100415 Tested-by: Jenkins Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoff...@gmail.com> Reviewed-by: Michael Meeks <michael.me...@collabora.com> diff --git a/loleaflet/admin/admin.strings.js b/loleaflet/admin/admin.strings.js index dc48930d3..9ac1e2fb1 100644 --- a/loleaflet/admin/admin.strings.js +++ b/loleaflet/admin/admin.strings.js @@ -36,6 +36,7 @@ l10nstrings.strMemoryStatsCachesize = _('Cache size of memory statistics'); l10nstrings.strMemoryStatsInterval = _('Time interval of memory statistics (in ms)'); l10nstrings.strCpuStatsCachesize = _('Cache size of CPU statistics'); l10nstrings.strCpuStatsInterval = _('Time interval of CPU statistics (in ms)'); +l10nstrings.strKillSessionToolTip = _('Kill session.'); l10nstrings.strLimitVirtMemMb = _('Maximum Document process virtual memory (in MB) - reduce only'); l10nstrings.strLimitStackMemKb = _('Maximum Document process stack memory (in KB) - reduce only'); l10nstrings.strLimitFileSizeMb = _('Maximum file size allowed to write to disk (in MB) - reduce only'); diff --git a/loleaflet/admin/src/AdminSocketOverview.js b/loleaflet/admin/src/AdminSocketOverview.js index abca74c1d..cb94193f4 100644 --- a/loleaflet/admin/src/AdminSocketOverview.js +++ b/loleaflet/admin/src/AdminSocketOverview.js @@ -88,6 +88,7 @@ function upsertDocsTable(doc, sName, socket) { var sessionCloseCell = document.createElement('td'); // This cell will open "Do you want to kill this session?" dialog. sessionCloseCell.innerText = '✖'; + sessionCloseCell.title = _('Kill session.'); sessionCloseCell.className = 'has-text-centered'; sessionCloseCell.style.cursor = 'pointer'; if (add === true) { row.appendChild(sessionCloseCell); } else { row.cells[0] = sessionCloseCell; } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits