Color fixes, deploy task

This commit is contained in:
magnolia-fan
2011-11-27 22:17:09 +04:00
parent 9032e8380b
commit 16c25afaef
7 changed files with 97 additions and 8 deletions
+2 -2
View File
@@ -47,9 +47,9 @@ class window.Ajax
_page.render response
_ajax.hideSpinner()
if _session.getUser().id?
$('.button-container').show()
$('.authorized-action').show()
else
$('.button-container').hide()
$('.authorized-action').hide()
false
false
+2 -2
View File
@@ -20,9 +20,9 @@ class window.Search
_page.render data
_search.hideSpinner()
if _session.getUser().id?
$('.button-container').show()
$('.authorized-action').show()
else
$('.button-container').hide()
$('.authorized-action').hide()
if data.status is 'loading'
setTimeout () ->
_search.loadArtistData name
+2
View File
@@ -41,9 +41,11 @@ class window.Session
displayAuthorizedContent: ->
$('.playlist, .player').show()
$('.ad_here, #login').hide()
$('.authorized-action').show()
$('#authorized').css display: 'block'
hideAuthorizedContent: ->
$('.playlist, .player, #authorized').hide()
$('.ad_here').show()
$('.authorized-action').hide()
$('#login').css display: 'block'