add update notice for old users and hide it for all on the current version

This commit is contained in:
Stefan Breunig
2013-02-11 18:17:52 +01:00
parent 5b07537cca
commit 43245bf425
2 changed files with 15 additions and 0 deletions

View File

@ -27,6 +27,7 @@ window.setupLargeImagePreview = function() {
window.setupStyles = function() {
$('head').append('<style>' +
[ 'body:after { display: none } ',
[ '#largepreview.enl img { border:2px solid '+COLORS[TEAM_ENL]+'; } ',
'#largepreview.res img { border:2px solid '+COLORS[TEAM_RES]+'; } ',
'#largepreview.none img { border:2px solid '+COLORS[TEAM_NONE]+'; } ',