adding doc link for all plugins (#1195)

fix https://github.com/ethereum/remix-project/issues/1103
pull/1213/head
Liana Husikyan 4 years ago committed by GitHub
parent 0354295bd5
commit 8ab295d949
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 5
      apps/remix-ide/src/app/components/plugin-manager-component.js

@ -114,6 +114,8 @@ class PluginManagerComponent extends ViewPlugin {
renderItem (profile) {
const displayName = (profile.displayName) ? profile.displayName : profile.name
const doclink = profile.documentation ? yo`<a href="${profile.documentation}" class="px-1" title="link to documentation" target="_blank"><i aria-hidden="true" class="fas fa-book"></i></a>`
: yo``
// Check version of the plugin
let versionWarning
@ -147,8 +149,11 @@ class PluginManagerComponent extends ViewPlugin {
<article id="remixPluginManagerListItem_${profile.name}" class="list-group-item py-1 mb-1 plugins-list-group-item" title="${displayName}" >
<div class="${css.row} justify-content-between align-items-center mb-2">
<h6 class="${css.displayName} plugin-name">
<div>
${displayName}
${doclink}
${versionWarning}
</div>
${activationButton}
</h6>
</div>

Loading…
Cancel
Save