Skip to content
Snippets Groups Projects
Unverified Commit 6d1a8228 authored by Sébastien Gaya's avatar Sébastien Gaya Committed by GitHub
Browse files

Merge pull request #1210 from noesya/research-citations-fix

Ajout des styles de citation : Chicago & Harvard
parents 1fab4c39 0da058e2
No related branches found
No related tags found
No related merge requests found
......@@ -13,6 +13,14 @@ module WithCitations
citation_for("modern-language-association", website: website, locale: locale)
end
def citation_chicago(website: nil, locale: nil)
citation_for("chicago-author-date", website: website, locale: locale)
end
def citation_harvard(website: nil, locale: nil)
citation_for("harvard-cite-them-right", website: website, locale: locale)
end
protected
def citation_for(style, website: nil, locale: nil)
......
......@@ -32,7 +32,15 @@ citations:
- label: "MLA"
content: >-
<%= prepare_html_for_static @about.citation_mla, @website.university %>
- label: "Chicago"
content: >-
<%= prepare_html_for_static @about.citation_chicago, @website.university %>
- label: "Harvard"
content: >-
<%= prepare_html_for_static @about.citation_harvard, @website.university %>
<% if @website.default_language.iso_code == "fr" %>
- label: "ISO 690"
content: >-
<%= prepare_html_for_static @about.citation_iso690, @website.university %>
<% end %>
---
\ No newline at end of file
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