File tree Expand file tree Collapse file tree 4 files changed +21
-12
lines changed
lib/osf-components/addon/components/addons-service/configured-addon-edit Expand file tree Collapse file tree 4 files changed +21
-12
lines changed Original file line number Diff line number Diff line change 41
41
{{ else }}
42
42
<p >{{ t ' links.empty-screen-message' }} </p >
43
43
{{ #if this.currentUserCanEdit }}
44
- <p > {{ t ' links.point-to-addons-message' }} <a href =' /{{ this.model.node.id }} /addons?activeFilterType=verified-link' >{{ t ' addons.heading' }} </a ></p >
44
+ <p > {{ t ' links.point-to-addons-message-1 ' }} <a href =' /{{ this.model.node.id }} /addons?activeFilterType=verified-link' >{{ t ' addons.heading' }} </a >{{ t ' links.point-to-addons-message-2 ' }} </p >
45
45
{{ /if }}
46
46
{{ /if }}
47
47
</div >
Original file line number Diff line number Diff line change 68
68
white-space : pre-wrap ;
69
69
70
70
}
71
+
72
+ .trigger {
73
+ width : 130px ;
74
+ }
Original file line number Diff line number Diff line change 167
167
></GoogleFilePickerWidget >
168
168
{{ /if }}
169
169
{{ #if this.isLinkAddon }}
170
- <label >
171
- {{ t ' addons.configure.resource-type' }}
172
- <Button
173
- aria-label ={{ t ' addons.configure.resource-type-helper-aria-label' }}
174
- @layout =' fake-link'
175
- {{ on ' click' (fn (mut this.isResourceTypeDialogOpen ) true )}}
176
- >
177
- <FaIcon @icon =' question-circle' />
178
- </Button >
170
+ {{ #let (unique-id ' resource-type' ) as |resourceTypeId |}}
171
+ <label for ={{ resourceTypeId }} >
172
+ {{ t ' addons.configure.resource-type' }}
173
+ <Button
174
+ aria-label ={{ t ' addons.configure.resource-type-helper-aria-label' }}
175
+ @layout =' fake-link'
176
+ {{ on ' click' (fn (mut this.isResourceTypeDialogOpen ) true )}}
177
+ >
178
+ <FaIcon @icon =' question-circle' />
179
+ </Button >
180
+ </label >
179
181
<PowerSelect
182
+ id ={{ resourceTypeId }}
180
183
@options ={{ @supportedResourceTypes }}
181
184
@selected ={{ this.selectedResourceType }}
182
185
@onChange ={{ action (mut this.selectedResourceType )}}
186
+ @triggerClass ={{ local-class ' trigger' }}
183
187
@placeholder ={{ t ' addons.configure.resource-type-placeholder' }}
184
188
as |resourceType|
185
189
>
186
190
{{ resourceType }}
187
191
</PowerSelect >
188
- </ label >
192
+ {{ /let }}
189
193
{{ /if }}
190
194
<div local-class =' footer-buttons-wrapper' >
191
195
<Button
Original file line number Diff line number Diff line change @@ -400,7 +400,8 @@ links:
400
400
display-name : ' Display Name'
401
401
resource-type : ' Resource Type'
402
402
empty-screen-message : ' This project has no configured linked services at the moment '
403
- point-to-addons-message : ' In order to add linked service visit'
403
+ point-to-addons-message-1 : ' Visit '
404
+ point-to-addons-message-2 : ' to add a linked service.'
404
405
link : ' Link'
405
406
edit : ' Edit'
406
407
icon : ' {addonName} icon'
You can’t perform that action at this time.
0 commit comments