File tree Expand file tree Collapse file tree 4 files changed +30
-2
lines changed
lib/osf-components/addon/components/osf-navbar/preprint-links Expand file tree Collapse file tree 4 files changed +30
-2
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.
44The format is based on [ Keep a Changelog] ( http://keepachangelog.com/en/1.0.0/ )
55and this project adheres to [ Semantic Versioning] ( http://semver.org/spec/v2.0.0.html ) .
66
7+ ## [ 25.15.1] - 2025-08-21
8+ ### Added
9+ - Modifications to prepare for disallowing submissions for OSF Preprint
10+
711## [ 25.15.0] - 2025-08-15
812### Added
913- Fix search page result count
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
Original file line number Diff line number Diff line change 11{
22 "name" : " ember-osf-web" ,
3- "version" : " 25.15.0 " ,
3+ "version" : " 25.15.1 " ,
44 "private" : true ,
55 "description" : " Ember front-end for the Open Science Framework" ,
66 "homepage" : " https://github.com/CenterForOpenScience/ember-osf-web#readme" ,
You can’t perform that action at this time.
0 commit comments