1
0
Fork 0
mirror of https://github.com/Radarr/Radarr synced 2024-12-27 10:19:41 +00:00

Fixed: Update UI will show that older versions are not installable

This commit is contained in:
Mark McDowall 2014-10-24 15:23:21 -07:00
parent 6a3bea5adc
commit 2711cd6afa
2 changed files with 21 additions and 12 deletions

View file

@ -4,13 +4,17 @@
<span class="date">
- {{ShortDate releaseDate}}
</span>
<span class="status">
{{#if installed}}
<span class="update-installed"><i class="icon-ok" title="Installed"></i></span>
{{/if}}
<span class="label label-success">Installed</span>
{{else}}
{{#if isUpgrade}}
<span class="label label-default install-update x-install-update">Install</span>
{{else}}
<span class="label label-default label-disabled" title="Cannot install an older version">Install</span>
{{/if}}
{{/if}}
</span>
</legend>
{{#with changes}}

View file

@ -7,18 +7,23 @@
cursor : default;
margin-bottom : 5px;
line-height : 30px;
display : inline-block;
.date {
font-size : 16px;
display : inline-block;
}
.status {
margin-left : 5px;
font-size : 14px;
margin-top : -3px;
display : inline-block;
vertical-align : middle;
}
.install-update {
.clickable();
margin-left : 10px;
}
.update-installed {
margin-left : 10px;
}
}