Skip to content
Snippets Groups Projects
Commit 6485aa01 authored by Laurent Heirendt's avatar Laurent Heirendt :airplane:
Browse files

Merge branch 'mk-shorten-publication-shortcuts' into 'master'

shorten the publication shortcuts

See merge request !472
parents 3bd16465 126ce250
No related branches found
No related tags found
2 merge requests!493update web IDE content,!472shorten the publication shortcuts
Pipeline #72019 passed with warnings
Subproject commit f12e847f61856f4817359e4911d8ad4daf16f264
Subproject commit 5aa7f6c360ff7cbe822d988fd59ca43cccf3a196
......@@ -24,7 +24,7 @@ window.boxHider = (function() {
function GetSelectedBoxElement(id) {
var allBoxesArray = GetAllBoxElementsArray();
// note: handbook and lab are actually grouped sections
if (id.startsWith('handbook') || id.startsWith('lab') || id.startsWith('qms')) {
if (id.startsWith('handbook') || id.startsWith('lab') || id.startsWith('qms') || id.startsWith('publication')) {
return true;
} else {
var element = document.getElementById(id);
......@@ -104,6 +104,14 @@ window.boxHider = (function() {
ShowElement(box);
}
});
} else if (boxId.startsWith('publication')) {
allBoxes.map(function(box) {
if (!box.id.startsWith('publication')) {
HideElement(box);
} else {
ShowElement(box);
}
});
} else {
allBoxes.map(function(box) {
if (box != selectedBox) {
......
......@@ -146,12 +146,17 @@ order: -1
<div class="index-box noborderbox" id="publication-card">
<h3>Publication</h3>
<ul>
<li><a href="{{ 'external/publication/publish-repo' | relative_url }}">Publish a repository</a></li>
<li><a href="{{ 'external/publication/add-gitignore' | relative_url }}">Add a .gitignore to your repository</a></li>
<li><a href="{{ 'external/publication/orcid' | relative_url }}">Obtain an ORCID</a></li>
<li><a href="{{ 'external/publication/publishInBiotools' | relative_url }}">Publishing a tool in *bio.tools*</a></li>
<li><a href="{{ 'external/publication/phdThesisTemplate' | relative_url }}">LaTeX template for a doctoral thesis at University of Luxembourg</a></li>
<li><a href="{{ 'external/publication/10WaysImproveEnglish' | relative_url }}">10 ways to improve your English</a></li>
</ul>
</div>
<div class="index-box noborderbox" id="publication-code-card">
<h3>Publication: Publishing code and programs</h3>
<ul>
<li><a href="{{ 'external/publication-code/publish-repo' | relative_url }}">Publish a repository</a></li>
<li><a href="{{ 'external/publication-code/add-gitignore' | relative_url }}">Add a .gitignore to your repository</a></li>
<li><a href="{{ 'external/publication-code/publishInBiotools' | relative_url }}">Publishing a tool in *bio.tools*</a></li>
</ul>
</div>
</div><br><center><a href="{{ '/' | relative_url }}">go back</a></center><br><center><a href="{{ '/cards' | relative_url }}">Overview of all HowTo cards</a></center>
\ No newline at end of file
---
card_order: 700
layout: page
permalink: /external/publication/add-gitignore/
permalink: /external/publication-code/add-gitignore/
shortcut: publication:add-gitignore
redirect_from:
- /cards/publication-code:add-gitignore
- /external/cards/publication-code:add-gitignore
- /publication-code/add-gitignore
- /external/external/publication-code/add-gitignore/
legacy_from:
- /cards/publication:add-gitignore
- /external/cards/publication:add-gitignore
- /publication/add-gitignore
......
---
card_order: 600
layout: page
permalink: /external/publication/publish-repo/
permalink: /external/publication-code/publish-repo/
shortcut: publication:publish-repo
redirect_from:
- /cards/publication-code:publish-repo
- /external/cards/publication-code:publish-repo
- /publication-code/publish-repo
- /external/external/publication-code/publish-repo/
legacy_from:
- /cards/publication:publish-repo
- /external/cards/publication:publish-repo
- /publication/publish-repo
......@@ -18,4 +23,4 @@ In order to change the visibility of the repository, you can do so by browsing t
There, you can set the visibility to `Public`. It is important to note that the group must be public in order to change visibility of the repository.
Remember to follow the [LCSB policy regarding code development](https://howto.lcsb.uni.lu/?qms:LCSB-POL-BIC-07). In case of questions, please do not hesitate to contact the [R3 team](mailto:lcsb-r3@uni.lu).
\ No newline at end of file
Remember to follow the [LCSB policy regarding code development](https://howto.lcsb.uni.lu/?qms:LCSB-POL-BIC-07). In case of questions, please do not hesitate to contact the [R3 team](mailto:lcsb-r3@uni.lu).
---
card_order: 800
layout: page
permalink: /external/publication/publishInBiotools/
permalink: /external/publication-code/publishInBiotools/
shortcut: publication:publishInBiotools
redirect_from:
- /cards/publication-code:publishInBiotools
- /external/cards/publication-code:publishInBiotools
- /publication-code/publishInBiotools
- /external/external/publication-code/publishInBiotools/
redirect_from:
- /cards/publication:publishInBiotools
- /external/cards/publication:publishInBiotools
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment