Color fixes, deploy task
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user