diff --git a/.gitignore b/.gitignore index 447ccac69722aebca051e4917829bb0659b5042e..82d4fefc3d186c0b02d9846d96582b5b8143a8af 100644 --- a/.gitignore +++ b/.gitignore @@ -44,3 +44,4 @@ junit.xml /.vs /Web.config /dspace7-angular/.github/disabled-workflows +/src/themes/virginiatech/app/item-page diff --git a/src/app/item-page/simple/item-types/publication/publication.component.html b/src/app/item-page/simple/item-types/publication/publication.component.html index cbf9d55dcab65db929e5e53bc2f0dfdf688e4ff1..9421bffef75df6cf37acb43e2257a85b7c309706 100644 --- a/src/app/item-page/simple/item-types/publication/publication.component.html +++ b/src/app/item-page/simple/item-types/publication/publication.component.html @@ -15,6 +15,7 @@ <ds-dso-edit-menu></ds-dso-edit-menu> </div> <div class="row"> + <div class="col-xs-12 col-md-4"> <ng-container *ngIf="!(mediaViewer.image || mediaViewer.video)"> <ds-metadata-field-wrapper [hideIfNoTextContent]="false"> @@ -77,10 +78,10 @@ [fields]="['dc.identifier.citation']" [label]="'item.page.citation'"> </ds-generic-item-page-field> - <ds-item-page-uri-field [item]="object" - [fields]="['dc.identifier.uri']" - [label]="'item.page.uri'"> -</ds-item-page-uri-field> + <ds-item-page-uri-field [item]="object" + [fields]="['dc.identifier.uri']" + [label]="'item.page.uri'"> + </ds-item-page-uri-field> <ds-item-page-collections [item]="object"></ds-item-page-collections> <div> <a class="btn btn-outline-primary" role="button" [routerLink]="[itemPageRoute + '/full']"> diff --git a/src/app/shared/search-form/search-form.component.html b/src/app/shared/search-form/search-form.component.html index 98dfd4931820bb9b48321263d7fae7a688b415b5..e8743082e2c427dcd09bcbcc8a510603884ca2c3 100644 --- a/src/app/shared/search-form/search-form.component.html +++ b/src/app/shared/search-form/search-form.component.html @@ -10,7 +10,7 @@ </div> <input type="text" [(ngModel)]="query" name="query" class="form-control" attr.aria-label="{{ searchPlaceholder }}" [attr.data-test]="'search-box' | dsBrowserOnly" - [placeholder]="searchPlaceholder"> + [placeholder]="searchPlaceholder" autofocus="autofocus"> <span class="input-group-append"> <button type="submit" class="search-button btn btn-{{brandColor}}" [attr.data-test]="'search-button' | dsBrowserOnly"><i class="fas fa-search"></i> {{ ('search.form.search' | translate) }} </button> </span> @@ -21,7 +21,7 @@ <div [hidden]="currentUrl == '/search' || currentUrl == '/mydspace' || currentUrl == '/admin/search' || currentUrl == '/admin/workflow'" > <div class="card-deck" style="padding-bottom:20px;"> <div class="card" > - <a title="View" target="_self" href="https://guides.lib.vt.edu/oapolicy/" class="card-img-top"> + <a title="Open Access Policy" target="_blank" href="https://guides.lib.vt.edu/oapolicy/" class="card-img-top"> <div class="thumbnail"> <img src="assets/virginiatech/images/vtimages/open-access-logo2.png" alt="Open Access Policy" class="thumbnail-content img-fluid"> </div> @@ -37,7 +37,7 @@ </div> <div class="card"> <!--<a title="View" target="_self" href="/search?query=dc.type:("Thesis" OR "Dissertation")&spc.page=1&spc.sf=dc.date.accessioned&spc.sd=DESC" class="card-img-top">--> - <a title="View" target="_self" href="communities/e7b958c7-340d-41f6-a201-ccb628b61a70" class="card-img-top"> + <a title="Theses and Dissertations" href="communities/e7b958c7-340d-41f6-a201-ccb628b61a70" class="card-img-top" target="_self" > <div class="thumbnail"> <img src="assets/virginiatech/images/vtimages/BTDsize.jpg" alt="Theses and Dissertations" class="thumbnail-content img-fluid"> </div> @@ -52,7 +52,7 @@ </div> </div> <div class="card"> - <a title="View" target="_self" href="collections/a2d17483-d5d5-4733-9326-d64dd88f258d" class="card-img-top"> + <a title="Open Textbooks" target="_self" href="collections/a2d17483-d5d5-4733-9326-d64dd88f258d" class="card-img-top"> <div class="thumbnail"> <img src="assets/virginiatech/images/vtimages/fob4.jpg" alt="Open Textbooks" class="thumbnail-content img-fluid"> </div> diff --git a/src/themes/virginiatech/eager-theme.module.ts b/src/themes/virginiatech/eager-theme.module.ts index 2abf76e98f06e3b3bb3f9ae2af9e133ab9dce3b2..5803c54fe14d00af02b1f299f4ec6a47c209d913 100644 --- a/src/themes/virginiatech/eager-theme.module.ts +++ b/src/themes/virginiatech/eager-theme.module.ts @@ -13,7 +13,12 @@ import { FooterComponent } from './app/footer/footer.component'; import { AboutusComponent } from './app/info/aboutus/aboutus.component'; import { PrivacyComponent } from './app/info/privacy/privacy.component'; import { VTHelpComponent } from './app/info/vthelp/vthelp.component'; -import { VTPoliciesComponent } from './app/info/vtpolicies/vtpolicies.component'; +import { VTPoliciesComponent } from './app/info/vtpolicies/vtpolicies.component'; + +//import { PublicationComponent } from './app/item-page/simple/item-types/publication/publication.component'; + +//import { ItemPageModule } from '../../app/item-page/item-page.module'; +//import { ItemSharedModule } from '../../app/item-page/item-shared.module'; /** * Add components that use a custom decorator to ENTRY_COMPONENTS as well as DECLARATIONS. @@ -29,6 +34,9 @@ const DECLARATIONS = [ AboutusComponent, VTHelpComponent, VTPoliciesComponent, + //PublicationComponent, + //ItemPageModule, + //ItemSharedModule, HeaderComponent, HeaderNavbarWrapperComponent, NavbarComponent,