Skip to content

Commit

Permalink
Adapt error message to acknowledge other error possibilities than not…
Browse files Browse the repository at this point in the history
… enough linked resources
  • Loading branch information
pkraker committed May 15, 2018
1 parent b8f6ec6 commit 205b4a8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/viper/building_map.php
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,8 @@
$(".waiting-description").hide();
$(".waiting-title").html('Creating an overview for <span class="project_name">' + window.dataParamsForOpening.acronymtitle + '</span> failed.');
$("#progress").html(
`Sorry! We could not create your map, because the project does not have enough resources linked to it. \n\
You can link further resources to this project on the OpenAIRE website. Use the button indicated in the exemplary screenshot to do so. \n\
`Sorry! We could not create your map, most likely because the project does not have enough resources linked to it. \n\
You can link further resources to this project on the OpenAIRE website. Use the button indicated in the exemplary screenshot to do so. <br><br>If you think that there is something wrong with our site, please let us know at <a href="mailto:[email protected]">[email protected]</a>. \n\
<p><a href="https://www.openaire.eu/search/project?projectId=` + window.dataParamsForOpening.obj_id + `" target="_blank"><img src="viper-project-screenshot.png" class="error-building-map-image"></a>\n\
<p class="error-building-map-button"><a class="newsletter2" href="https://www.openaire.eu/search/project?projectId=` + window.dataParamsForOpening.obj_id + `" target="_blank">Go to the OpenAIRE project website</a></p>`
);
Expand Down

0 comments on commit 205b4a8

Please sign in to comment.