Skip to content

Commit

Permalink
update and debug
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaoranzhou committed Nov 17, 2024
1 parent 978be08 commit 57385e2
Showing 1 changed file with 28 additions and 5 deletions.
33 changes: 28 additions & 5 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1377,7 +1377,7 @@
newText.setAttribute("data-id" , warning_number);
newText.setAttribute("data-text" , text);
console.log("doc_name is : " + name)
if (name == 'bmbf-dmp'){
if (dmpLanguage[name] == "de" ){
newText.innerHTML = '<span id= "warning_number' + warning_number + '" name="warning_elements" class = "text-warning"><-- Bitte achten Sie auf den vorhergehenden Satz. ' + text + '</span>';
}else {
newText.innerHTML = '<span id= "warning_number' + warning_number + '" name="warning_elements" class = "text-warning"><-- Please pay attention to the sentence before. ' + text + '</span>';
Expand Down Expand Up @@ -2864,11 +2864,11 @@
</button>
<ul class="dropdown-menu">
<li>
<button id="menu_horizon2020_dmp" class="dropdown-item"
onclick='load_dmp(reload_answers,name="Horizon2020_DMP")'>Horizon 2020</button>
<button id="detailed_dmp" class="dropdown-item"
onclick='load_dmp(reload_answers,name="Horizon2020_DMP")'>Horizon 2020 DMP</button>
</li>
<li>
<button id="menu_horizoneurope_dmp" class="dropdown-item"
<button id="detailed_dmp" class="dropdown-item"
onclick='load_dmp(reload_answers,name="horizon_europe")'>Horizon Europe DMP</button>
</li>
<li>
Expand All @@ -2879,9 +2879,29 @@
<button id="detailed_BBSRC-dmp" class="dropdown-item"
onclick='load_dmp(reload_answers,name="BBSRC-dmp")'>BBSRC DMP</button>
</li>
<li>
<button id="detailed_NSF-dmp" class="dropdown-item"
onclick='load_dmp(reload_answers,name="NSF-dmp")'>NSF DMP</button>
</li>
<li>
<button id="detailed_msca-dmp" class="dropdown-item"
onclick='load_dmp(reload_answers,name="msca-dmp")'>MSCA (Marie Skłodowska-Curie Actions) DMP</button>
</li>
<li>
<button id="detailed_bmel-dmp" class="dropdown-item "
onclick='load_dmp(reload_answers,name="bmel-dmp")'>BMEL DMP [Deutsch]</button>
</li>
<li>
<button id="detailed_cz-dmp" class="dropdown-item "
onclick='load_dmp(reload_answers,name="cz-dmp")'>Carl-Zeiss Stiftung DMP [Deutsch]</button>
</li>
<li>
<button id="detailed_vw-dmp" class="dropdown-item"
onclick='load_dmp(reload_answers,name="vw-dmp")'>Volkswagen Foundation DMP [Deutsch]</button>
</li>
<li>
<button id="proposal_save" class="dropdown-item"
onclick='load_dmp(reload_answers,name="bmbf-dmp")'>BMBF DMP</button>
onclick='load_dmp(reload_answers,name="bmbf-dmp")'>BMBF DMP [Deutsch]</button>
</li>
<li>
<button id="guide_save" class="dropdown-item"
Expand All @@ -2892,7 +2912,10 @@
data-bs-target="#offcanvas-template-input" aria-controls="offcanvas-template-input"
onclick='document.getElementById("template-input-content").innerHTML=window.localStorage.getItem("fulltext_user");'
href="#">
<span name="translateTarget" data-en="User-defined Template">
User-defined Template
</spans>

</a>
</li>
<li>
Expand Down

0 comments on commit 57385e2

Please sign in to comment.