plugins-functionality #43

Merged
argiro.kokogiannaki merged 86 commits from plugins-functionality into develop 2024-06-13 09:14:22 +02:00
3 changed files with 6 additions and 3 deletions
Showing only changes of commit bb08cacc3c - Show all commits

View File

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

View File

@ -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);
} }
} }

View File

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