Skip to content

Commit

Permalink
#378 add flag issue help url
Browse files Browse the repository at this point in the history
  • Loading branch information
Adam Collins committed Jan 30, 2024
1 parent 28b7bd2 commit 1e2cb2c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 2 additions & 0 deletions grails-app/conf/plugin.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,8 @@ images.baseUrl = "https://images.ala.org.au"
images.viewerUrl = "https://images.ala.org.au/image/viewer?imageId="
images.metadataUrl = "https://images.ala.org.au/image/details?imageId="

help.flagIssueUrl = "https://support.ala.org.au/support/solutions/articles/6000262125-flagging-an-issue-with-a-record"

dataResourceUuid.alaSightings = "dr364"
dataResourceUuid.iNaturalist = "dr1411"
dataResourceUuid.flickr = "dr360"
Expand Down
6 changes: 5 additions & 1 deletion grails-app/views/occurrence/_recordSidebar.gsp
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,11 @@
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
<h3 id="loginOrFlagLabel"><g:message code="show.loginorflag.title" default="Flag an issue"/></h3>
<h3 id="loginOrFlagLabel"><g:message code="show.loginorflag.title" default="Flag an issue"/>
<a href="${grailsApplication.config.getProperty('help.flagIssueUrl')}" target="_blank" style="font-size: 14px;margin-left: 10px;">
<i class="glyphicon glyphicon-question-sign"></i>
</a>
</h3>
</div>
<div class="modal-body">
<g:if test="${!userId}">
Expand Down

0 comments on commit 1e2cb2c

Please sign in to comment.