Skip to content

Commit 423bb1f

Browse files
Merge pull request #86 from AtlasOfLivingAustralia/issue-41
Fix for "View this null record" link text in records email
2 parents 662976c + 9ad93d4 commit 423bb1f

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

grails-app/views/email/biocache.gsp

+5
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,12 @@
5353
</g:else>
5454
</td>
5555
<td class="linkCell" nowrap="nowrap">
56+
<g:if test="${oc.scientificName != null}">
5657
<a href="${query.baseUrlForUI}/occurrences/${oc.uuid}"><g:message code="biocache.view.this.record" args="[oc.scientificName]" /></a>
58+
</g:if>
59+
<g:else>
60+
<a href="${query.baseUrlForUI}/occurrences/${oc.uuid}"><g:message code="biocache.record.details" /></a>
61+
</g:else>
5762
</td>
5863
</tr>
5964
</tbody>

0 commit comments

Comments
 (0)