disable voting on sps if setting disabled

refactors hover messages on sps votes
This commit is contained in:
Juanjo Bazán
2016-04-15 23:01:00 +02:00
parent 5a785ca7ce
commit e6a9cb4fcc
10 changed files with 111 additions and 26 deletions

View File

@@ -5,11 +5,13 @@ App.Votes =
$("div.anonymous-votes", votes).show();
$("div.organizations-votes", votes).show();
$("div.not-logged", votes).show();
$("div.no-supports-allowed", votes).show();
$("div.logged", votes).hide();
, ->
$("div.anonymous-votes", votes).hide();
$("div.organizations-votes", votes).hide();
$("div.not-logged", votes).hide();
$("div.no-supports-allowed", votes).hide();
$("div.logged", votes).show();
initialize: ->