Fix hound and add emoji in title [SCI-7027]

This commit is contained in:
Andrej 2022-09-16 10:39:09 +02:00
parent ac7c873385
commit 4fb3f7ff3d
2 changed files with 8 additions and 4 deletions

View file

@ -38,10 +38,14 @@
}
function expirationInTime() {
var timeString;
if (expireIn > 0) {
document.title = newTimerStr(expireIn) + ' ' + originalTitle;
$('.expiring').text(I18n.t('devise.sessions.expire_modal.session_end_in.header',
{ time: newTimerStr(expireIn) }));
timeString = newTimerStr(expireIn);
document.title = timeString + ' ' + String.fromCodePoint(0x1F62A) + ' ' + originalTitle;
$('.expiring').text(
I18n.t('devise.sessions.expire_modal.session_end_in.header',
{ time: timeString })
);
expireIn -= 1;
if (!$('#session-expire').hasClass('in')) {
$('#session-expire').modal().off('hide.bs.modal').on('hide.bs.modal', function() {

View file

@ -3,7 +3,7 @@
.session-modal {
.modal-body {
padding-bottom: 0px;
padding-bottom: 0;
}
ul {