reduce plugin installer entry height

This commit is contained in:
Andrew Dolgov 2021-03-04 15:58:26 +03:00
parent 6cf771f2bc
commit f90531ae40
1 changed files with 3 additions and 3 deletions

View File

@ -452,6 +452,9 @@ const Helpers = {
container.innerHTML += `
<li data-row-value="${App.escapeHtml(plugin.name)}">
${App.FormFields.button_tag(__('Install plugin'), "", {class: 'alt-primary pull-right',
onclick: `App.dialogOf(this).performInstall("${App.escapeHtml(plugin.name)}")`})}
<h3 style="margin-top: 0">${plugin.name}
<a target="_blank" href="${App.escapeHtml(plugin.html_url)}">
${App.FormFields.icon("open_in_new_window")}
@ -460,9 +463,6 @@ const Helpers = {
<p>${plugin.description}</p>
${App.FormFields.button_tag(__('Install plugin'), "", {class: 'alt-primary',
onclick: `App.dialogOf(this).performInstall("${App.escapeHtml(plugin.name)}")`})}
<hr/>
</li>
`