fixed card styling for import series

pull/4/head
Keivan Beigi 12 years ago
parent 9160343a51
commit 942679d4bd

@ -1,4 +1,4 @@
<div class="search-item"> <div class="search-item {{#unless isExisting}}search-item-new{{/unless}}">
<div class="row"> <div class="row">
<div class="span2"> <div class="span2">
<a href="{{traktUrl}}" target="_blank"> <a href="{{traktUrl}}" target="_blank">

@ -49,6 +49,7 @@
} }
.unmapped-folder-view { .unmapped-folder-view {
.card;
margin-top: 20px; margin-top: 20px;
padding: 20px; padding: 20px;
.folder-header { .folder-header {
@ -65,8 +66,6 @@
.search-item { .search-item {
.card;
padding-bottom: 20px; padding-bottom: 20px;
a { a {
color: #343434; color: #343434;
@ -79,6 +78,10 @@
} }
} }
.search-item-new {
.card;
}
.new-series-overview { .new-series-overview {
text-overflow: ellipsis; text-overflow: ellipsis;
white-space: pre-line; white-space: pre-line;
@ -91,7 +94,6 @@
} }
.new-series-loadmore { .new-series-loadmore {
.card;
.clickable; .clickable;
font-size: 30px; font-size: 30px;
font-weight: 300; font-weight: 300;

@ -24,11 +24,14 @@ define(['app'], function () {
return start.format('{h}.{mm}{tt}'); return start.format('{h}.{mm}{tt}');
}, },
end : function () { end : function () {
var start = Date.create(this.get('airDate'));
var runtime = this.get('series').runtime; if (this.has('series')) {
var start = Date.create(this.get('airDate'));
var runtime = this.get('series').runtime;
return start.addMinutes(runtime); return start.addMinutes(runtime);
}
}, },
statusLevel : function () { statusLevel : function () {
var episodeFileId = this.get('episodeFileId'); var episodeFileId = this.get('episodeFileId');

Loading…
Cancel
Save