+ {{html-safe @provider.description}} +
+ {{else if @institution}} ++ {{t 'search.total-results' count=this.totalResultCount}} +
+ {{/if}} ++ {{t 'search.left-panel.no-filterable-properties'}} +
+ {{/each}} + {{/if}} +{{sortOption.display}}
++ {{t 'search.total-results' count=this.totalResultCount}} +
+ {{/if}} +{{t 'search.no-results'}}
+{{t 'search.search-help.body-1' htmlSafe=true}}
+ +{{t 'search.search-help.index-1'}}
+ +{{t 'search.search-help.body-2'}}
+ +{{t 'search.search-help.index-2'}}
+ +{{t 'search.search-help.body-3' htmlSafe=true}}
+ +{{t 'search.search-help.index-3'}}
+ +This is the description for Thesis Commons and it has an inline-style!
', + }); + + const agrixiv = server.schema.preprintProviders.find('agrixiv') as ModelInstanceThis is the description for agrixiv!
', + }); + + const nutrixiv = server.schema.preprintProviders.find('nutrixiv') as ModelInstanceThis is the description for nutrixiv!
', + }); + + const biohackrxiv = server.schema.preprintProviders.find('biohackrxiv') as ModelInstanceThis is the description for biohackrxiv!
', + }); +} diff --git a/mirage/serializers/preprint-provider.ts b/mirage/serializers/preprint-provider.ts new file mode 100644 index 00000000000..e2349cab283 --- /dev/null +++ b/mirage/serializers/preprint-provider.ts @@ -0,0 +1,73 @@ +import { ModelInstance } from 'ember-cli-mirage'; +import config from 'ember-get-config'; +import PreprintProvider from 'ember-osf-web/models/preprint-provider'; +import ApplicationSerializer, { SerializedRelationships } from './application'; + +const { OSF: { apiUrl } } = config; + +export default class PreprintProviderSerializer extends ApplicationSerializerVisit our Guides to learn about creating a project, or get inspiration from popular public projects.
' + welcome_message: 'Visit our Guides to learn about creating a project, or get inspiration from popular public projects.
' alternate_email_error: 'The email address has NOT been added to your account. Please log out and revisit the link in your email. Thank you.' # remove_addon: 'Because the GitHub add-on for {extra.category} "{extra.title}" was authenticated by {extra.user}, authentication information has been deleted.' project_deleted: 'Project has been successfully deleted.' @@ -735,6 +802,8 @@ app_components: brand_color_inputs: primary_label: 'Brand Primary Color' primary_set: 'Set Primary Color' + secondary_label: 'Brand Secondary Color' + secondary_set: 'Set Secondary Color' error_page: email_message: 'If this should not have occurred and the issue persists, please report it to' go_to: 'Go to {brand}' @@ -1043,6 +1112,11 @@ collections: accept: accepted reject: rejected remove: 'removed' +preprints: + osf-title: 'OSF Preprints' + provider-title: '{name} {pluralizedPreprintWord}' + discover: + title: 'Search' registries: header: osf_registrations: 'OSF Registrations' @@ -1783,6 +1857,42 @@ routes: institution: Institution email: Email osf-components: + search-result-card: + language: Language + url: URL + resource_type: Resource type + title: Title + collection: Collection + context: Context + funder: Funder + registration_template: Registration template + doi: DOI + description: Description + license: License + from: From + date_created: Date created + date_registered: Date registered + date_modified: Date modified + last_edited: Last edited + member_since: Member since + preprint_provider: Preprint provider + registration_provider: Registration provider + conflict_of_interest: Conflict of Interest response + no_conflict_of_interest: 'Author asserted no Conflict of Interest' + associated_data: Associated data + associated_analysis_plan: Associated preregistration + associated_study_design: Associated study design + project: Project + registration: Registration + preprint: Preprint + file: File + user: User + project_component: Project component + registration_component: Registration component + link_to_orcid_id: Link to orcid id + withdrawn: Withdrawn + unknown: Unknown + remaining_count: '{count} more' resources-list: add_instructions: 'Link a DOI from a repository to your registration by clicking the green “+” button.' add_instructions_adhere: 'Contributors affirmed to adhere to the criteria for each badge.'