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.
4
4
The format is based on [ Keep a Changelog] ( http://keepachangelog.com/en/1.0.0/ )
5
5
and this project adheres to [ Semantic Versioning] ( http://semver.org/spec/v2.0.0.html ) .
6
6
7
+ ## [ 25.15.1] - 2025-08-21
8
+ ### Added
9
+ - Modifications to prepare for disallowing submissions for OSF Preprint
10
+
7
11
## [ 25.15.0] - 2025-08-15
8
12
### Added
9
13
- Fix search page result count
Original file line number Diff line number Diff line change 48
48
</OsfLink >
49
49
</div >
50
50
</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 }}
51
75
{{ /if }}
52
76
{{ /branded-header.row }}
53
77
</BrandedHeader >
Original file line number Diff line number Diff line change 18
18
</OsfLink >
19
19
</li >
20
20
{{ /if }}
21
- {{ #if this.theme.provider.allowSubmissions }}
21
+ {{ #if ( or ( eq this.theme.id ' osf ' ) this.theme. provider.allowSubmissions) }}
22
22
<li data-test-nav-submit-preprint-link>
23
23
<OsfLink
24
24
data-test-add-a-preprint-osf-navbar
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " ember-osf-web" ,
3
- "version" : " 25.15.0 " ,
3
+ "version" : " 25.15.1 " ,
4
4
"private" : true ,
5
5
"description" : " Ember front-end for the Open Science Framework" ,
6
6
"homepage" : " https://github.com/CenterForOpenScience/ember-osf-web#readme" ,
You can’t perform that action at this time.
0 commit comments