Reading time: 6 min
‘;
dialog += ‘
article_share:copy
‘;
dialog += ‘
article_share:email
‘;
dialog += ‘
‘ + stringizeQuota(quota) + ‘
‘;
$me.find(‘.article_share_dialog’).html(dialog);
}
$me.slideDown(‘fast’);
}
function stringizeQuota(q) {
var c=”člankov”;
if (q == 1) c=”članek”;
else if (q == 2) c=”članka”;
else if (q == 3 || q == 4) c=”članke”;
var ret;
if (q == 0) ret=”article_share:quota_depleted”;
else ret=”article_share:quota ” + q + ‘ ‘ + c + ‘.’;
return ret;
}
function openShareDepletedDialog(pos) {
var $me = $(‘.article_share_div’).filter(‘.’+pos).find(‘.article_share_dialog’);
$me.html(‘article_share:quota_depleted’);
$me.closest(‘.article_share_div’).slideDown(‘fast’);
}
/*function openShareSuccessDialog(pos, quo) {
$(‘#article_social_’ + pos + ‘ .article_share_dialog’).html(‘article_share:share_sent, article_share:quota: ‘ + quo).slideDown(‘fast’);
}*/
function openShareCreatedDialog(pos, link) {
var res = link.split(‘|’);
var quo = stringizeQuota(res.shift());
var link = res.join(‘|’); // if any
//
//$(‘#article_social_’ + pos + ‘ .article_share_dialog’).html(‘article_share:share_link: ‘ + link + ‘
article_share:quota: ‘ + quo).slideDown(‘fast’);
//
var $me = $(‘.article_share_div’);
$me.find(‘.article_share_link’).val(link);
$me.find(‘.article_share_create’).hide();
$me.find(‘.article_share_copy’).css(‘display’, ‘inline-block’);//show();
$me.find(‘.article_share_email’).css(‘display’, ‘inline-block’);//show();
$me.find(‘.quota’).html(quo + ‘
article_share:link_lifespan’); } // $(‘body’).on(‘click’, ‘#a_letter_to_the_editor’, function() { $(‘#letter_to_the_editor’).slideToggle(‘fast’); }); });
July and August are the most popular vacation months. But as nice as the vacation may be, returning to work is difficult for many employees: their inbox is overflowing, there are gaps in information, there may be different structures or new colleagues. With this guide, we want to make the transition from vacation to everyday work easier for you – with expert tips from Jens Usebach, specialist lawyer for labor law.
Checklist from DWN: How to structure your first day after your vacation. (Photo: istockphoto/ fizkes)
Photo: fizkes