Skip to content

Commit

Permalink
Merge pull request #10 from mlibrary/issue-working9
Browse files Browse the repository at this point in the history
serverLocation for stats config change and Schema.org
  • Loading branch information
blancoj authored Aug 22, 2024
2 parents e0ad6ae + 3898afe commit f613a4a
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 17 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,20 +9,22 @@
</div>
</div>


<div itemscope="" itemtype="https://schema.org/CreativeWork">
<div class="d-flex flex-row">
<ds-themed-item-page-title-field [item]="object" class="mr-auto">
</ds-themed-item-page-title-field>
<span itemprop="name">
<ds-themed-item-page-title-field [item]="object" class="mr-auto">
</ds-themed-item-page-title-field>
</span>

<!--
<div ng-if="(isAdmin$|async)">
-->
<ds-dso-edit-menu></ds-dso-edit-menu>

<!--
</div>
-->
<ds-dso-edit-menu></ds-dso-edit-menu>

</div>


<div class="row">
<div class="col-xs-12 col-md-4">
<!-- So the thumbnail is not diplayed.
Expand All @@ -33,20 +35,22 @@
</ng-container>
-->



<div *ngIf="mediaViewer.image || mediaViewer.video" class="mb-2">
<ds-themed-media-viewer [item]="object"></ds-themed-media-viewer>
</div>

<ds-themed-metadata-representation-list class="ds-item-page-mixed-author-field"
[parentItem]="object"
[itemType]="'Person'"
[metadataFields]="['dc.contributor.author', 'dc.creator']"
[label]="'relationships.isAuthorOf' | translate">
</ds-themed-metadata-representation-list>
<span itemprop="author">
<ds-themed-metadata-representation-list class="ds-item-page-mixed-author-field"
[parentItem]="object"
[itemType]="'Person'"
[metadataFields]="['dc.contributor.author', 'dc.creator']"
[label]="'relationships.isAuthorOf' | translate">
</ds-themed-metadata-representation-list>
</span>

<ds-item-page-date-field [item]="object"></ds-item-page-date-field>
<span itemprop="datePublished">
<ds-item-page-date-field [item]="object"></ds-item-page-date-field>
</span>

<ds-themed-item-page-file-section [item]="object"></ds-themed-item-page-file-section>

Expand Down Expand Up @@ -112,6 +116,7 @@ <h2>Abstract</h2>


<span *ngIf="object.allMetadata(['dc.identifier.uri']).length > 0" >
<span itemprop="url">
<span *ngFor="let uri of object.allMetadataValues(['dc.identifier.uri']); let last=last;">
<span *ngIf="uri.includes(this.handlePrefix)" >
<h2 _ngcontent-dspace-angular-c161="" class="simple-view-element-header ng-star-inserted">Handle</h2>
Expand All @@ -120,6 +125,7 @@ <h2 _ngcontent-dspace-angular-c161="" class="simple-view-element-header ng-star-
<span *ngIf="!last"></span>
<p></p>
</span>
</span>
</span>


Expand Down Expand Up @@ -572,3 +578,4 @@ <h2 style="font-size: 18px; font-weight: bold">Accessibility</h2>
</div>
</div>
</div>
</div>
2 changes: 1 addition & 1 deletion src/environments/environment.production.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { BuildConfig } from '../config/build-config.interface';
export const environment: Partial<BuildConfig> = {
production: true,

serverLocation: 'http://localhost:8080/server',
serverLocation: 'https://backend.workshop.deepblue-documents.lib.umich.edu/server',

// Angular Universal settings
universal: {
Expand Down

0 comments on commit f613a4a

Please sign in to comment.