diff --git a/config/config.tamu.yml b/config/config.tamu.yml index 0be7102650c..f51bf5f2dad 100644 --- a/config/config.tamu.yml +++ b/config/config.tamu.yml @@ -1,8 +1,8 @@ rest: ssl: true - host: api-dev.library.tamu.edu + host: oaktrust-dev.library.tamu.edu port: 443 - nameSpace: /dspace7 + nameSpace: /server mediaViewer: image: true diff --git a/src/app/shared/dso-page/dso-edit-menu/dso-edit-menu.component.html b/src/app/shared/dso-page/dso-edit-menu/dso-edit-menu.component.html index 547ad66f63b..8d2ff84b0db 100644 --- a/src/app/shared/dso-page/dso-edit-menu/dso-edit-menu.component.html +++ b/src/app/shared/dso-page/dso-edit-menu/dso-edit-menu.component.html @@ -1,4 +1,7 @@ - + diff --git a/src/themes/tamu/app/shared/starts-with/text/starts-with-text.component.scss b/src/themes/tamu/app/shared/starts-with/text/starts-with-text.component.scss new file mode 100644 index 00000000000..e69de29bb2d diff --git a/src/themes/tamu/app/shared/starts-with/text/starts-with-text.component.ts b/src/themes/tamu/app/shared/starts-with/text/starts-with-text.component.ts new file mode 100644 index 00000000000..96ca71cfb61 --- /dev/null +++ b/src/themes/tamu/app/shared/starts-with/text/starts-with-text.component.ts @@ -0,0 +1,34 @@ +import { Component } from '@angular/core'; +import { + FormsModule, + ReactiveFormsModule, +} from '@angular/forms'; +// TAMU Customizations +import { RouterLink } from '@angular/router'; +// END TAMU Customizations +import { TranslateModule } from '@ngx-translate/core'; + +import { StartsWithTextComponent as BaseComponent } from '../../../../../../app/shared/starts-with/text/starts-with-text.component'; +import { StartsWithType } from '../../../../../../app/shared/starts-with/starts-with-type'; +import { renderStartsWithFor } from '../../../../../../app/shared/starts-with/starts-with-decorator'; + + +@Component({ + selector: 'ds-starts-with-text', + // styleUrls: ['./starts-with-text.component.scss'], + styleUrls: ['../../../../../../app/shared/starts-with/text/starts-with-text.component.scss'], + templateUrl: './starts-with-text.component.html', + // templateUrl: '../../../../../../app/shared/starts-with/text/starts-with-text.component.html', + standalone: true, + imports: [ + FormsModule, + ReactiveFormsModule, + // TAMU Customizations + RouterLink, + // END TAMU Customizations + TranslateModule, + ], +}) +@renderStartsWithFor(StartsWithType.text) +export class StartsWithTextComponent extends BaseComponent { +} diff --git a/src/themes/tamu/assets/i18n/en.json5 b/src/themes/tamu/assets/i18n/en.json5 index 2b654467f67..02e4e95eb88 100644 --- a/src/themes/tamu/assets/i18n/en.json5 +++ b/src/themes/tamu/assets/i18n/en.json5 @@ -78,4 +78,21 @@ "nav.mydspace": "My OAKTrust", "register-page.registration.info": "Register an account to subscribe to collections for email updates, and submit new items to OAKTrust.", + + "search-page.heading": "Search OAKTrust", + + "search-page.configuration.heading": "Search Configuration", + + "browse.startsWith.input": "To browse a location in the index", + + "browse.startsWith.hint": "To browse a location in the index, enter the first few letters", + + "browse.startsWith.click_here": "Click here for a ", + + "browse.startsWith.general_search": "general search", + + "browse.startsWith.type_text": "Click here for a general search", + + "browse.startsWith.placeholder": "Enter the first few letters", + } diff --git a/src/themes/tamu/eager-theme.module.ts b/src/themes/tamu/eager-theme.module.ts index afc092e2363..3f530b96c44 100644 --- a/src/themes/tamu/eager-theme.module.ts +++ b/src/themes/tamu/eager-theme.module.ts @@ -8,11 +8,14 @@ import { HomeNewsComponent } from './app/home-page/home-news/home-news.component import { NavbarComponent } from './app/navbar/navbar.component'; // TAMU Customizations -import { LoginPageComponent } from './app/login-page/login-page.component'; -import { LogoutPageComponent } from './app/logout-page/logout-page.component'; import { CommunityListComponent } from './app/community-list-page/community-list/community-list.component'; import { CommunityPageSubCollectionListComponent } from './app/community-page/sections/sub-com-col-section/sub-collection-list/community-page-sub-collection-list.component'; import { CommunityPageSubCommunityListComponent } from './app/community-page/sections/sub-com-col-section/sub-community-list/community-page-sub-community-list.component'; +import { LoginPageComponent } from './app/login-page/login-page.component'; +import { LogoutPageComponent } from './app/logout-page/logout-page.component'; +import { SearchPageComponent } from './app/search-page/search-page.component'; +import { SearchResultsComponent } from './app/shared/search/search-results/search-results.component'; +import { StartsWithTextComponent } from './app/shared/starts-with/text/starts-with-text.component'; import { SubmissionSectionLicenseComponent } from './app/submission/sections/license/section-license.component'; // END TAMU Customizations @@ -34,6 +37,9 @@ const DECLARATIONS = [ CommunityPageSubCommunityListComponent, LoginPageComponent, LogoutPageComponent, + SearchPageComponent, + SearchResultsComponent, + StartsWithTextComponent, SubmissionSectionLicenseComponent, // END TAMU Customizations ];