Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaoranzhou committed Apr 5, 2024
1 parent 76784ae commit f4ba6c9
Showing 1 changed file with 12 additions and 9 deletions.
21 changes: 12 additions & 9 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -406,19 +406,22 @@ <h5 class="modal-title" id="suggestionModalLabel">Based on your answers, we thin

switch(element.type){
case "Repository":
repoText[loc] += ("<b>"+element.acronym + "</b> <span class='description'>("+element.description +
")</span><br><a href='"+element.link +"' class='smallRef'> Click here to learn more about "+
element.acronym +"</a> <br> <a href='"+element.submission +"' class='smallRef'> Click here for metadata list </a><br>");
repoText[loc] += "<b>"+element.acronym + "</b>"+
"<span class='description'>("+element.description +")</span>"+
"<br> <a href='"+element.link +"' target='_blank' class='smallRef'> Click here to learn more about "+ element.acronym +"</a>"+
"<br> <a href='"+element.submission +"' target='_blank' class='smallRef'> Click here for metadata list </a>"+
"<br>";
break;
case "Minimum Information standards":
misText[loc] += ("<b>"+element.acronym + "</b> <span class='description'>("+element.description +
")</span><br><a href='"+element.link +"' class='smallRef'> Click here to learn more about "
+element.acronym +"</a> <br> <a href='"+element.submission +"' class='smallRef'> Click here for metadata list </a><br>");
misText[loc] += "<b>"+element.acronym + "</b>"+
"<span class='description'>("+element.description +")</span>"+
"<br> <a href='"+element.link +"' target='_blank' class='smallRef'> Click here to learn more about "+ element.acronym +"</a>"+
"<br> <a href='"+element.submission +"' target='_blank' class='smallRef'> Click here for metadata list </a>"+
"<br>";
break;
case "Template":
swateText[loc] += ("<b>"+element.description + "</b> <span class='description'>"+" " +
"</span><br><a href='"+element["template"] +"' class='smallRef'> Click here to access the SWATE template for "
+element.description +"</a> <br> ");
swateText[loc] += "<b>"+element.description + "</b> <span class='description'> </span>"+
"<br><a href='"+element["template"] +"' target='_blank' class='smallRef'> Click here to access the SWATE template for "+element.description +"</a> <br> ";
break;
}

Expand Down

0 comments on commit f4ba6c9

Please sign in to comment.