Files
Prowlarr/src/UI/System/Update/UpdateItemViewTemplate.hbs
T

46 lines
1.6 KiB
Handlebars

<div class="update">
<fieldset>
<legend>{{version}}
<span class="date">
- {{ ShortDate releaseDate}}
</span>
<span class="status">
{{#unless_eq branch compare="master"}}
<span class="label label-default">{{branch}}</span>
{{/unless_eq}}
{{#if installed}}
<span class="label label-success">Installed</span>
{{else}}
{{#if latest}}
{{#if installable}}
<span class="label label-info install-update x-install-update" title="Install the latest update.">Install latest</span>
{{else}}
<span class="label label-info label-disabled" title="The version installed is newer than the branch you are currently on.">
Install latest
</span>
{{/if}}
{{/if}}
{{/if}}
</span>
</legend>
{{#with changes}}
{{#each new}}
<div class="change">
<span class="label label-success">New</span> {{this}}
</div>
{{/each}}
{{#each fixed}}
<div class="change">
<span class="label label-info">Fixed</span> {{this}}
</div>
{{/each}}
{{/with}}
{{#unless changes}}
<span>Maintenance release</span>
{{/unless}}
</fieldset>
</div>