mirror of https://github.com/Radarr/Radarr
Fixed: Update UI will show that older versions are not installable
This commit is contained in:
parent
6a3bea5adc
commit
2711cd6afa
|
@ -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}}
|
||||||
|
|
|
@ -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;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue