Private GIT

Skip to content
Snippets Groups Projects
Commit 0e9c086b authored by Ruud's avatar Ruud
Browse files

Show status of release. fixes #159 #165

parent 7df659a3
Branches
Tags
No related merge requests found
......@@ -279,7 +279,8 @@
border: 0;
}
.movies .options .table .provider {
width: 130px;
width: 120px;
text-overflow: ellipsis;
}
.movies .options .table .name {
width: 350px;
......@@ -290,6 +291,8 @@
.movies .options .table.files .name { width: 605px; }
.movies .options .table .type { width: 130px; }
.movies .options .table .is_available { width: 90px; }
.movies .options .table .age,
.movies .options .table .size { width: 40px; }
.movies .options .table a {
width: 30px !important;
......
......@@ -270,8 +270,9 @@ var ReleaseAction = new Class({
// Header
new Element('div.item.head').adopt(
new Element('span.name', {'text': 'Release name'}),
new Element('span.status', {'text': 'Status'}),
new Element('span.quality', {'text': 'Quality'}),
new Element('span.size', {'text': 'Size (MB)'}),
new Element('span.size', {'text': 'Size'}),
new Element('span.age', {'text': 'Age'}),
new Element('span.score', {'text': 'Score'}),
new Element('span.provider', {'text': 'Provider'})
......@@ -288,9 +289,10 @@ var ReleaseAction = new Class({
} catch(e){}
new Element('div', {
'class': 'item ' + status.identifier
'class': 'item'
}).adopt(
new Element('span.name', {'text': self.get(release, 'name'), 'title': self.get(release, 'name')}),
new Element('span.status', {'text': status.identifier, 'class': 'release_status '+status.identifier}),
new Element('span.quality', {'text': quality.get('label')}),
new Element('span.size', {'text': (self.get(release, 'size') || 'unknown')}),
new Element('span.age', {'text': self.get(release, 'age')}),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment