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