1
0
mirror of https://github.com/Radarr/Radarr.git synced 2024-11-09 12:32:31 +01: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"> <span class="date">
- {{ShortDate releaseDate}} - {{ShortDate releaseDate}}
</span> </span>
{{#if installed}} <span class="status">
<span class="update-installed"><i class="icon-ok" title="Installed"></i></span> {{#if installed}}
{{/if}} <span class="label label-success">Installed</span>
{{else}}
{{#if isUpgrade}} {{#if isUpgrade}}
<span class="label label-default install-update x-install-update">Install</span> <span class="label label-default install-update x-install-update">Install</span>
{{/if}} {{else}}
<span class="label label-default label-disabled" title="Cannot install an older version">Install</span>
{{/if}}
{{/if}}
</span>
</legend> </legend>
{{#with changes}} {{#with changes}}

View File

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