Skip to content

Commit

Permalink
Update DSP-JS-Lib and DSP-UI-Lib to latest version (#335)
Browse files Browse the repository at this point in the history
* chore: Rename knora-api to dsp-api

* chore: Update DSP-JS-Lib

* chore: Update DSP dependencies

* chore(ontology): Deactivate create ontology buttons
  • Loading branch information
André Kilchenmann authored Nov 25, 2020
1 parent a66f848 commit 5cca7dc
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 9 deletions.
20 changes: 14 additions & 6 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@
"@angular/platform-browser-dynamic": "~9.1.12",
"@angular/router": "~9.1.12",
"@ckeditor/ckeditor5-angular": "^1.2.3",
"@dasch-swiss/dsp-js": "1.0.0-rc.16",
"@dasch-swiss/dsp-ui": "1.0.0-rc.11",
"@dasch-swiss/dsp-js": "1.0.0-rc.17",
"@dasch-swiss/dsp-ui": "1.0.0-rc.13",
"@ngx-translate/core": "^13.0.0",
"@ngx-translate/http-loader": "^6.0.0",
"angular-split": "^4.0.0",
Expand Down
2 changes: 1 addition & 1 deletion src/app/main/help/help.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export class HelpComponent implements OnInit {
{
title: 'DSP-API ',
text: 'Framework to store, share, and work with primary resources in the humanities.',
url: 'https://github.com/dasch-swiss/knora-api/releases/tag/',
url: 'https://github.com/dasch-swiss/dsp-api/releases/tag/',
urlText: 'Release notes'
},
{
Expand Down
4 changes: 4 additions & 0 deletions src/app/project/ontology/ontology.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,12 @@ <h2 class="mat-title">
<span class="fill-remaining-space"></span>

<span class="app-toolbar-action" [class.select-form]="ontologies.length">
<!-- NOT YET IMPLEMENTED! Commented for release 2020.1
<button mat-raised-button color="primary" class="create-data-model-btn"
(click)="openOntologyForm('createOntology')">
{{ontologies.length ? 'New data model' : 'Create your first data model'}}
</button>
-->
</span>
</div>
</div>
Expand Down Expand Up @@ -84,6 +86,7 @@ <h3 class="mat-title" [matTooltip]="ontology.id">{{ontology?.label}}</h3>

<div #ontologyEditor *ngIf="!loadOntology && view === 'grid'" class="ontology-editor-canvas">
<!-- button to select and add new resource class to the ontology -->
<!-- NOT YET IMPLEMENTED! Commented for release 2020.1
<div class="add-resource-class" *ngIf="project?.status && (sysAdmin || projectAdmin) && ontologyIri">
<button mat-raised-button color="primary" [matMenuTriggerFor]="addResClassMenu">
Add resource class&nbsp;
Expand All @@ -96,6 +99,7 @@ <h3 class="mat-title" [matTooltip]="ontology.id">{{ontology?.label}}</h3>
</button>
</mat-menu>
</div>
-->

<!-- list of resource classs -->
<div *ngFor="let resClass of ontoClasses; let i = index" class="resource-class" cdkDrag
Expand Down

0 comments on commit 5cca7dc

Please sign in to comment.