Skip to content

Commit

Permalink
Merge pull request #147 from metagenlab/nj/citation
Browse files Browse the repository at this point in the history
Cite zDB paper on home page and about pages.
  • Loading branch information
njohner authored Jan 22, 2025
2 parents 80a194d + f412c3f commit 621e276
Show file tree
Hide file tree
Showing 4 changed files with 42 additions and 18 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ to [Common Changelog](https://common-changelog.org)

### Changed

- Cite zDB paper on home page and about pages. ([#147](https://github.com/metagenlab/zDB/pull/147)) (Niklaus Johner)

### Added

- Add command line parameter to set CSRF_TRUSTED_ORIGINS. ([#145](https://github.com/metagenlab/zDB/pull/145)) (Niklaus Johner)
Expand Down
14 changes: 14 additions & 0 deletions webapp/assets/bibliography/references.bib
Original file line number Diff line number Diff line change
@@ -1,4 +1,18 @@

@article{marquis_zdb_2024,
title = {{zDB}: bacterial comparative genomics made easy},
volume = {9},
url = {https://journals.asm.org/doi/10.1128/msystems.00473-24},
doi = {10.1128/msystems.00473-24},
number = {7},
journal = {mSystems},
author = {Marquis, Bastian and Pillonel, Trestan and Carrara, Alessia and Bertelli, Claire},
month = {jun},
year = {2024},
note = {Publisher: American Society for Microbiology},
pages = {e00473--24},
}

@article{Pallen2010,
author = {Pallen, Mark J and Loman, Nicholas J and Penn, Charles W},
doi = {10.1016/j.mib.2010.08.003},
Expand Down
36 changes: 22 additions & 14 deletions webapp/templates/chlamdb/credits.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
<html>

<head>
{% load static %}
{% include "chlamdb/header.html" %}
{% load static %}
{% include "chlamdb/header.html" %}
</head>

<body>
Expand All @@ -15,24 +15,32 @@
<div class="container-fluid" id="main_container">
<div class="row">
<div id="wrapper">
<div id="page-content-wrapper">
<div class="row">
<div class="col-lg-12" style="font: central;">
{% include "chlamdb/menu.html" %}
<div id="page-content-wrapper">
<div class="row">
<div class="col-lg-12" style="font: central;">
{% include "chlamdb/menu.html" %}
<div id="credits">
<h2>ZDB - Comparative genomics database</h2>
<h2>Credits</h2>
<h2>ZDB reference</h2>
{% with entry_list|first as entry %}
<ul>
{% for entry in entry_list%}
<li>
{{entry.0|safe}} (<a href="{{entry.1}}">Pubmed</a>) <br>
</li>
{%endfor%}
<li>
{{entry.0|safe}} (<a href="{{entry.1}}">Pubmed</a>) <br>
</li>
</ul>
</div>
{% endwith %}

<h2>Other references</h2>
<ul>
{% for entry in entry_list|slice:"1:"%}
<li>
{{entry.0|safe}} (<a href="{{entry.1}}">Pubmed</a>) <br>
</li>
{%endfor%}
</ul>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
Expand Down
8 changes: 4 additions & 4 deletions webapp/templates/chlamdb/home.html
Original file line number Diff line number Diff line change
Expand Up @@ -346,10 +346,10 @@ <h3 class="title">{{metadata.group_metadata.object_name_plural}}</h3>
<div id="container_boxes">
<div id="label"> Citation </div>
<div class="panel-body">
<a href="https://academic.oup.com/nar/advance-article-abstract/doi/10.1093/nar/gkz924/5609527" target="_blank" style="font-size: 1.2em; color:#555;">
<strong> ChlamDB: a comparative genomics database of the phylum <i>Chlamydiae</i> and other members of the <i>Planctomycetes-Verrucomicrobiae-Chlamydiae</i> superphylum </strong><br>
Trestan Pillonel, Florian Tagini, Claire Bertelli, Gilbert Greub <br>
Nucleic Acids Research, 2019, https://doi.org/10.1093/nar/gkz924
<a href="https://journals.asm.org/doi/10.1128/msystems.00473-24" target="_blank" style="font-size: 1.2em; color:#555;">
<strong> zDB: bacterial comparative genomics made easy </strong><br>
Bastian Marquis, Trestan Pillonel, Alessia Carrara, Claire Bertelli<br>
mSystems, 2024, https://doi.org/10.1128/msystems.00473-24
</a>
</div>
</div>
Expand Down

0 comments on commit 621e276

Please # to comment.