Skip to content

Commit fe05a9b

Browse files
Update links to license help guide (#2103)
Co-authored-by: Brian J. Geiger <bgeiger@cos.io>
1 parent 8d37ea8 commit fe05a9b

File tree

5 files changed

+3
-13
lines changed

5 files changed

+3
-13
lines changed

lib/osf-components/addon/components/license-picker/component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ export default class LicensePicker extends Component {
3333

3434
showText = false;
3535
licensesAcceptable!: QueryHasManyResult<License>;
36-
helpLink = 'https://help.osf.io/';
36+
licenseHelpLink = 'https://help.osf.io/article/148-licensing';
3737

3838
@alias('theme.provider') provider!: Provider;
3939
@alias('form.changeset.license') selected!: License;

lib/osf-components/addon/components/license-picker/template.hbs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
<a
2424
target='_blank'
2525
rel='noopener noreferrer'
26-
href={{this.helpLink}}
26+
href={{this.licenseHelpLink}}
2727
>
2828
{{t 'app_components.license_picker.faq'}}
2929
</a>

lib/registries/addon/components/registries-license-picker/component.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,5 @@ export default class RegistriesLicensePicker extends Component {
3535

3636
shouldShowButtons = false;
3737
showText = false;
38-
helpLink = 'https://help.osf.io/hc/en-us/articles/360019739014-Licensing';
3938
registration!: BufferedChangeset | Registration;
4039
}

lib/registries/addon/components/registries-license-picker/template.hbs

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -27,15 +27,6 @@
2727
<LoadingIndicator @dark={{true}} />
2828
{{/if}}
2929

30-
<div local-class='small help-link'>
31-
<OsfLink
32-
@target='_blank'
33-
@rel='noopener noreferrer'
34-
@href={{this.helpLink}}>
35-
{{t 'app_components.license_picker.faq'}}
36-
</OsfLink>
37-
</div>
38-
3930
{{#if (and @manager.selectedLicense @manager.selectedLicense.requiredFields)}}
4031
<form.custom
4132
local-class='AdditionalFields'

translations/en-us.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1540,7 +1540,7 @@ registries:
15401540
save: 'Save'
15411541
clear_all: 'Clear all'
15421542
add_license: 'Add license'
1543-
license_help_text: 'A license tells others how they can use your work in the future and only applies to the information and files submitted with the registration. For more information, see this <a href="https://help.osf.io/hc/en-us/articles/360019739014-Licensing" target="_blank" rel="noopener noreferrer">article on licenses</a>.'
1543+
license_help_text: 'A license tells others how they can use your work in the future and only applies to the information and files submitted with the registration. For more information, see this <a href="https://help.osf.io/article/148-licensing" target="_blank" rel="noopener noreferrer">help guide</a>.'
15441544
affiliated_institutions: 'Affiliated institutions'
15451545
category: Category
15461546
choose_license: 'Choose a License'

0 commit comments

Comments
 (0)