Skip to content

Commit

Permalink
change link text
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaoranzhou committed Apr 23, 2024
1 parent 00188bb commit 3113c89
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -405,13 +405,14 @@ <h5 class="modal-title" id="suggestionModalLabel">Based on your answers, we thin
const description = ((element.description == element.acronym)||(element.description==""))? "":"<span class='description'>&nbsp("+element.description +")</span>";
const metadataLink = (element.link=="")?"":"<br> <a href='"+element.link +"' target='_blank' class='smallRef'> Click here to learn more about "+ element.acronym +"</a>";
const metadataSubmission = (element.submission=="")?"":"<br> <a href='"+element.submission +"' target='_blank' class='smallRef'> Click here for metadata list </a>";

const submissionLink = (element.submission=="")?"":"<br> <a href='"+element.submission +"' target='_blank' class='smallRef'> Click here for submission </a>";

switch(element.type){
case "Repository":
repoText[loc] += "<b>"+element.acronym + "</b>"+
description +
metadataLink +
metadataSubmission+
submissionLink+
"<br>";
break;
case "Minimum Information standards":
Expand Down

0 comments on commit 3113c89

Please sign in to comment.