Skip to content

Commit

Permalink
formatting and deposit page changes
Browse files Browse the repository at this point in the history
  • Loading branch information
blancoj committed Nov 8, 2024
1 parent 7e26ec2 commit 6c91b36
Show file tree
Hide file tree
Showing 6 changed files with 23 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -567,6 +567,7 @@ <h2 _ngcontent-dspace-angular-c161="" class="simple-view-element-header ng-star-
</a>
</div>

<hr/>
<div>
<p></p>
<h2 style="font-size: 18px; font-weight: bold">Remediation of Harmful Language</h2>
Expand All @@ -575,8 +576,8 @@ <h2 style="font-size: 18px; font-weight: bold">Remediation of Harmful Language<

<div>
<p></p>
<h2 style="font-size: 18px; font-weight: bold">Accessibility</h2>
If you are unable to use this file in its current format, please select the <a href="https://teamdynamix.umich.edu/TDClient/88/Portal/Requests/TicketRequests/NewForm?ID=7Az64AR5TqI_&RequestorType=Service" target="_blank">Contact Us</a> link and we can modify it to make it more accessible to you.
<h2 style="font-size: 18px; font-weight: bold">Remediation for Accessibility</h2>
If you are unable to use this deposit in its current form, you can request accessibility remediation through our <a href="https://teamdynamix.umich.edu/TDClient/88/Portal/Requests/TicketRequests/NewForm?ID=7Az64AR5TqI_&RequestorType=Service" target="_blank">contact form</a>.
</div>
</div>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,11 @@
-->

<div [ngClass]="showThumbnails ? 'col-9' : 'col-md-12'">
<!-- This just takes of space. Not necessary.
<div class="d-flex">
<ds-themed-badges *ngIf="showLabel" [object]="dso" [context]="context" [showAccessStatus]="true"></ds-themed-badges>
</div>
-->

<ds-truncatable [id]="dso.id" *ngIf="object !== undefined && object !== null">
<a *ngIf="linkType != linkTypes.None" [target]="(linkType == linkTypes.ExternalLink) ? '_blank' : '_self'" [attr.rel]="(linkType == linkTypes.ExternalLink) ? 'noopener noreferrer' : null"
Expand Down
2 changes: 1 addition & 1 deletion src/app/shared/search-form/search-form.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
{{dsoNameService.getName(selectedScope | async) || ('search.form.scope.all' | translate)}}
</button>
</div>
<input type="text" [(ngModel)]="query" name="query" class="form-control"
<input type="text" [(ngModel)]="query" name="query" class="form-control form-control-lg"
attr.aria-label="{{ searchPlaceholder }}" [attr.data-test]="'search-box' | dsBrowserOnly"
[placeholder]="searchPlaceholder">
<span class="input-group-append">
Expand Down
Original file line number Diff line number Diff line change
@@ -1,21 +1,25 @@
<ng-container *ngIf="fileData">
<div class="row">
<div class="col-md-12">

<div class="float-left w-75">
<h3>{{fileName}} <span class="text-muted">({{fileData?.sizeBytes | dsFileSize}})</span></h3>
<ds-submission-section-upload-file-view [fileData]="fileData"></ds-submission-section-upload-file-view>

<button class="btn btn-secondary mt-2"
[attr.aria-label]="'submission.sections.upload.edit.title' | translate"
title="{{ 'submission.sections.upload.edit.title' | translate }}"
(click)="$event.preventDefault();editBitstreamData();">
<i class="fa fa-edit text-normal"></i> Edit File Details
</button>
</div>
<div class="float-right w-15">
<ng-container>
<ds-themed-file-download-link [cssClasses]="'btn btn-link-focus'" [isBlank]="true"
[bitstream]="getBitstream()" [enableRequestACopy]="false">
<i class="fa fa-download fa-2x text-normal" aria-hidden="true"></i>
</ds-themed-file-download-link>
<button class="btn btn-link-focus"
[attr.aria-label]="'submission.sections.upload.edit.title' | translate"
title="{{ 'submission.sections.upload.edit.title' | translate }}"
(click)="$event.preventDefault();editBitstreamData();">
<i class="fa fa-edit fa-2x text-normal"></i>
</button>

<button class="btn btn-link-focus"
[attr.aria-label]="'submission.sections.upload.delete.confirm.title' | translate"
title="{{ 'submission.sections.upload.delete.confirm.title' | translate }}"
Expand All @@ -27,7 +31,7 @@ <h3>{{fileName}} <span class="text-muted">({{fileData?.sizeBytes | dsFileSize}})
</ng-container>
</div>
<div class="clearfix"></div>
<ds-submission-section-upload-file-view [fileData]="fileData"></ds-submission-section-upload-file-view>

</div>
</div>
</ng-container>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<div>
<ng-container *ngIf="metadata">
<!-- Do not include title
<ng-container *ngFor="let entry of getAllMetadataValue(fileTitleKey)">
<ng-container *ngIf="entry.value !== ''">
<h5>
Expand All @@ -12,7 +13,8 @@ <h5 *ngIf="metadata[fileTitleKey].indexOf(entry) === 0">
</h5>
</ng-container>
<span class="clearfix"></span>
</ng-container>
</ng-container>
-->
<ng-container *ngFor="let entry of getAllMetadataValue(fileDescrKey)">
<ng-container *ngIf="entry.value !== ''">
{{entry.value | dsTruncate:['150']}}
Expand Down
6 changes: 3 additions & 3 deletions src/assets/i18n/en.json5
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@

"admin.access-control.epeople.form.firstName": "First name",

"admin.access-control.epeople.form.lastName": "Last name",
"admin.access-control.epeople.form.lastName": "Last name(s)",

"admin.access-control.epeople.form.email": "E-mail",

Expand Down Expand Up @@ -1712,7 +1712,7 @@

"form.group-expand-help": "Click here to expand and add more elements",

"form.last-name": "Last name",
"form.last-name": "Last name(s)",

"form.loading": "Loading...",

Expand Down Expand Up @@ -1836,7 +1836,7 @@

"home.breadcrumbs": "Home",

"home.search-form.placeholder": "Search the repository ...",
"home.search-form.placeholder": "Search all of Deep Blue Documents",

"home.title": "Home",

Expand Down

0 comments on commit 6c91b36

Please sign in to comment.