Notify when adding movie already in wanted or library

This commit is contained in:
Ruud
2012-01-29 23:15:48 +01:00
parent 5528b1d0ce
commit e657f446c1
3 changed files with 40 additions and 2 deletions
@@ -126,6 +126,11 @@
}
.movie_result:last-child .data { border-bottom: 0; }
.movie_result .in_wanted, .movie_result .in_library {
position: absolute;
margin-top: 105px;
}
.movie_result .thumbnail {
width: 17%;
@@ -291,6 +291,12 @@ Block.Search.Item = new Class({
self.info.images.poster.length > 0 ? new Element('img.thumbnail', {
'src': self.info.images.poster[0]
}) : null,
self.info.in_wanted ? new Element('span.in_wanted', {
'text': 'Already in wanted list: ' + self.info.in_wanted.label
}) : null,
self.info.in_library ? new Element('span.in_library', {
'text': 'Already in library: ' + self.info.in_library.label
}) : null,
self.title_select = new Element('select', {
'name': 'title'
}),