File tree Expand file tree Collapse file tree 2 files changed +25
-1
lines changed
lib/osf-components/addon/components/osf-navbar/preprint-links Expand file tree Collapse file tree 2 files changed +25
-1
lines changed Original file line number Diff line number Diff line change 4848 </OsfLink >
4949 </div >
5050 </div >
51+ {{ else }}
52+ {{ #if (eq this.theme.id ' osf' )}}
53+ <div local-class =' submit-container' >
54+ <div local-class =' or-container' >{{ t ' preprints.header.or' }} </div >
55+ <OsfLink
56+ data-test-submit-button
57+ data-analytics-name =' submit button'
58+ local-class =' btn btn-success btn-lg'
59+ @route =' preprints.select'
60+ >
61+ {{ t ' preprints.header.submit_label' documentType =this.theme.provider.documentType.singular }}
62+ </OsfLink >
63+ <div local-class =' example-container' >
64+ <OsfLink
65+ data-test-submission-see-submission-example
66+ data-analytics-name =' See Submission Example'
67+ @route =' resolve-guid'
68+ @models ={{ array (if this.theme.provider.example this.theme.provider.example ' khbvy' )}}
69+ >
70+ {{ t ' preprints.header.example' }}
71+ </OsfLink >
72+ </div >
73+ </div >
74+ {{ /if }}
5175 {{ /if }}
5276 {{ /branded-header.row }}
5377 </BrandedHeader >
Original file line number Diff line number Diff line change 1818 </OsfLink >
1919 </li >
2020{{ /if }}
21- {{ #if this.theme.provider.allowSubmissions }}
21+ {{ #if ( or ( eq this.theme.id ' osf ' ) this.theme. provider.allowSubmissions) }}
2222 <li data-test-nav-submit-preprint-link>
2323 <OsfLink
2424 data-test-add-a-preprint-osf-navbar
You can’t perform that action at this time.
0 commit comments