No more changelog, c.f. change in tools_update

This commit is contained in:
Alexandre Aubin 2019-04-07 01:31:34 +02:00
parent 0de5eed457
commit 9367e21b8a
2 changed files with 1 additions and 3 deletions

View file

@ -52,7 +52,6 @@
var packagesLength = data.packages.length; var packagesLength = data.packages.length;
for(var i = 0; i < packagesLength; i++) { for(var i = 0; i < packagesLength; i++) {
data.packages[i].delayed = false; data.packages[i].delayed = false;
data.packages[i].changelog = data.packages[i].changelog.replace(/\n/g, '<br />');
// Check for special packages that need delayed upgrade. // Check for special packages that need delayed upgrade.
if (["moulinette", "yunohost", "yunohost-admin", "ssowat", "python"].indexOf(data.packages[i].name) != -1) { if (["moulinette", "yunohost", "yunohost-admin", "ssowat", "python"].indexOf(data.packages[i].name) != -1) {

View file

@ -19,9 +19,8 @@
</span> </span>
{{/if}} {{/if}}
<h3 class="list-group-item-heading"> <h3 class="list-group-item-heading">
<a data-toggle="collapse" href="#changelog-package-{{@index}}">{{name}}</a> <small>{{fullname}}</small> {{name}} <small>{{fullname}}</small>
</h3> </h3>
<p id="changelog-package-{{@index}}" class="list-group-item-text collapse">{{{changelog}}}</p>
</div> </div>
{{/packages}} {{/packages}}
</div> </div>