diff options
-rw-r--r-- | www/templates/en/sent.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/www/templates/en/sent.html b/www/templates/en/sent.html index b4f20b3..8a94fef 100644 --- a/www/templates/en/sent.html +++ b/www/templates/en/sent.html @@ -16,9 +16,9 @@ <p><a onclick="FMS.openExternal(event); return false;" href="<%= site_url %>">View it on the site</a></p> <% } %> - <% if ( device.platform == 'iOS' ) { %> + <% if ( device.platform == 'iOS' && CONFIG.APP_ID ) { %> <p><a data-role="button" href="itms-apps://ax.itunes.apple.com/WebObjects/MZStore.woa/wa/viewContentsUserReviews?id=<% print( CONFIG.APP_ID ) %>&onlyLatestVersion=true&pageNumber=0&sortOrdering=1&type=Purple+Software">Please rate this app</a></p> - <% } else if ( device.platform == 'Android' ) { %> + <% } else if ( device.platform == 'Android' && CONFIG.PLAY_ID ) { %> <p><a id="rate_app" data-role="button" href="https://play.google.com/store/apps/details?id=<% print( CONFIG.PLAY_ID ) %>">Please rate this app</a></p> <% } %> </div> |