diff --git a/CHANGELOG.md b/CHANGELOG.md index 28cde50de..59b85fedd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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) diff --git a/webapp/assets/bibliography/references.bib b/webapp/assets/bibliography/references.bib index 7626429ca..9ab00fd8d 100644 --- a/webapp/assets/bibliography/references.bib +++ b/webapp/assets/bibliography/references.bib @@ -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}, diff --git a/webapp/templates/chlamdb/credits.html b/webapp/templates/chlamdb/credits.html index 9e7238a74..aeb6e82ec 100644 --- a/webapp/templates/chlamdb/credits.html +++ b/webapp/templates/chlamdb/credits.html @@ -3,8 +3,8 @@ - {% load static %} - {% include "chlamdb/header.html" %} + {% load static %} + {% include "chlamdb/header.html" %} @@ -15,24 +15,32 @@
-
-
-
- {% include "chlamdb/menu.html" %} +
+
+
+ {% include "chlamdb/menu.html" %}
-

ZDB - Comparative genomics database

-

Credits

+

ZDB reference

+ {% with entry_list|first as entry %}
    - {% for entry in entry_list%} -
  • - {{entry.0|safe}} (Pubmed)
    -
  • - {%endfor%} +
  • + {{entry.0|safe}} (Pubmed)
    +
-
+ {% endwith %} + +

Other references

+
    + {% for entry in entry_list|slice:"1:"%} +
  • + {{entry.0|safe}} (Pubmed)
    +
  • + {%endfor%} +
+
diff --git a/webapp/templates/chlamdb/home.html b/webapp/templates/chlamdb/home.html index 7701eb451..e3c9db21f 100644 --- a/webapp/templates/chlamdb/home.html +++ b/webapp/templates/chlamdb/home.html @@ -346,10 +346,10 @@

{{metadata.group_metadata.object_name_plural}}