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

pull/4/head
Mark McDowall 10 years ago
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;
} }
.install-update { .status {
.clickable(); margin-left : 5px;
margin-left : 10px; font-size : 14px;
margin-top : -3px;
display : inline-block;
vertical-align : middle;
} }
.update-installed { .install-update {
margin-left : 10px; .clickable();
} }
} }

Loading…
Cancel
Save