VRFS-4160 - add checkbox styling and pop external in recording selector dialog

This commit is contained in:
Seth Call 2016-05-29 22:50:57 -05:00
parent ad28d8d55d
commit c6a5321601
4 changed files with 10 additions and 2 deletions

View File

@ -581,6 +581,9 @@
if(!defaults.show_checkbox) {
$feedItem.find('.select-box').hide();
}
else {
context.JK.checkbox($feedItem.find('.select-box'))
}
if(defaults.hide_avatar) {
$feedItem.find('.avatar-small.ib').hide();
}
@ -598,6 +601,7 @@
$feedItem.data('original-max-height', $feedItem.css('height'));
context.JK.bindHoverEvents($feedItem);
context.JK.bindProfileClickEvents($feedItem);
context.JK.popExternalLinks($feedItem)
}
else {
logger.warn("skipping feed type: " + feed.type);

View File

@ -16,6 +16,11 @@
overflow-y:auto;
}
.title-artist {
margin-left:25px;
}
.action-buttons {
margin-bottom:10px;
}

View File

@ -13,7 +13,6 @@
height: 36px;
}
.recording-controls {
margin-top: 15px;
padding: 3px 5px 3px 10px;

View File

@ -8,7 +8,7 @@
%a{:hoveraction => "{{data.feed_item.helpers.artist_hoveraction}}", :profileaction => "{{data.feed_item.helpers.artist_hoveraction}}", :"{{data.feed_item.helpers.artist_datakey}}" => "{{data.feed_item.helpers.artist_id}}"}
%img{ src: '{{data.feed_item.helpers.avatar}}' }
/ type and artist
.left.ml20.w15
.left.ml20.w15.title-artist
.title
%a.title-text{:href => "/recordings/{{data.candidate_claimed_recording.id}}", :rel => "external", :hoveraction => "recording", :'recording-id' => '{{data.candidate_claimed_recording.id}}'} RECORDING
%a.edit-recording-dialog{href: "#"} (edit)