reduce plugin installer entry height

master
Andrew Dolgov 2 years ago
parent 6cf771f2bc
commit f90531ae40
  1. 6
      js/PrefHelpers.js

@ -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>
`

Loading…
Cancel
Save