Skip to content

Commit 21e52d4

Browse files
committedJan 21, 2025
- migrated couple of old icon usage
1 parent d4b5d26 commit 21e52d4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎src/main/groovy/au/org/ala/ecodata/forms/ViewModelWidgetRenderer.groovy

+2-2
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ class ViewModelWidgetRenderer implements ModelWidgetRenderer {
165165
void renderFusedAutocomplete(WidgetRenderContext context) {
166166
context.databindAttrs.add 'text', 'name'
167167
context.writer << """<span data-bind="with: ${context.source}"><span${context.attributes.toString()} data-bind='${context.databindAttrs.toString()}'></span>
168-
<a target="_blank" data-bind="visible: guid, attr: {href: transients.bioProfileUrl}"><i class="icon-info-sign"></i></a>
168+
<a target="_blank" data-bind="visible: guid, attr: {href: transients.bioProfileUrl}"><i class="fas fa-info-circle"></i></i></a>
169169
</span>"""
170170
}
171171

@@ -199,7 +199,7 @@ class ViewModelWidgetRenderer implements ModelWidgetRenderer {
199199
private void renderReadOnlySpecies(WidgetRenderContext context) {
200200
context.databindAttrs.add 'with', context.source
201201
context.writer << """<span data-bind='${context.databindAttrs.toString()}'><span${context.attributes.toString()} data-bind='text:name'></span>
202-
<a href="#" data-bind="popover: {title: name, content: transients.speciesInformation}, event: { 'shown.bs.popover': fetchSpeciesImage}"><i class="icon-info-sign"></i></a>
202+
<a href="#" data-bind="popover: {title: name, content: transients.speciesInformation}, event: { 'shown.bs.popover': fetchSpeciesImage}"><i class="fas fa-info-circle"></i></i></a>
203203
</span>"""
204204
}
205205

0 commit comments

Comments
 (0)