plugins-functionality #43
|
@ -11,6 +11,8 @@
|
|||
View all
|
||||
</a>-->
|
||||
</div>
|
||||
<div [innerHTML]="pluginObject.description"></div>
|
||||
|
||||
<div *ngIf="!contentProviders || contentProviders.length == 0 " class="uk-text-muted uk-text-center">
|
||||
No datasources available
|
||||
</div>
|
||||
|
|
|
@ -5,8 +5,8 @@ import {ConfigurationService} from "../../../../utils/configuration/configuratio
|
|||
import {CommunityService} from "../../../../connect/community/community.service";
|
||||
export class PluginSuggestedRepositories extends PluginBaseInfo{
|
||||
title:string ="Suggested repositories & journals";
|
||||
description:string = "";
|
||||
compare(oldObject): any {
|
||||
console.log()
|
||||
return super.compare(oldObject);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -8,9 +8,10 @@ import {PluginSuggestedRepositories} from "./plugin-suggested-repositories.compo
|
|||
<div *ngIf="pluginObject" class="uk-padding-xsmall">
|
||||
<plugin-field-edit [value]="pluginObject.title"
|
||||
type="text" field="title" (changed)="valueChanged($event)"></plugin-field-edit>
|
||||
|
||||
<plugin-field-edit [value]="pluginObject.description"
|
||||
type="textarea" field="description" (changed)="valueChanged($event)" [switchToHTMLEditor]="true"></plugin-field-edit>
|
||||
<div class="uk-alert uk-alert-warning uk-text-small"> Manage the content providers list in
|
||||
<a routerLink="../../info/content-providers" target="_blank">Community info</a> by adding them in deposit.</div>
|
||||
<a routerLink="../../../info/content-providers" target="_blank">Community info</a> by adding them in deposit.</div>
|
||||
</div>
|
||||
`,
|
||||
|
||||
|
|
Loading…
Reference in New Issue