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

pull/126/head
Mark McDowall 10 years ago
parent 6a3bea5adc
commit 2711cd6afa

@ -4,13 +4,17 @@
<span class="date">
- {{ShortDate releaseDate}}
</span>
{{#if installed}}
<span class="update-installed"><i class="icon-ok" title="Installed"></i></span>
{{/if}}
{{#if isUpgrade}}
<span class="label label-default install-update x-install-update">Install</span>
{{/if}}
<span class="status">
{{#if installed}}
<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}}

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

Loading…
Cancel
Save