Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

renamed doc_types in template short #73

Merged
merged 2 commits into from
Mar 21, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 16 additions & 12 deletions infoscience_exports/exports/templates/exports/export_short.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,27 +23,31 @@ <h2 class="infoscience_header2">{{ article.title }}</h2>
{% endif %}
<div class="infoscience_data">
<div class="record-content">
{% if article.Doc_Type == 'ARTICLE' %}
{% if article.Doc_Type == 'Journal Articles' %}
{% include "exports/include_doctype/article_short.html" with article=article %}
{% elif article.Doc_Type == 'THESIS' %}
{% include "exports/include_doctype/thesis_short.html" with article=article %}
{% elif article.Doc_Type == 'THESIS_LIB' %}
{% elif article.Doc_Type == 'Reviews' %}
{% include "exports/include_doctype/article_short.html" with article=article %}
{% elif article.Doc_Type == 'Theses' %}
{% include "exports/include_doctype/thesis_short.html" with article=article %}
{% elif article.Doc_Type == 'REP_WORK' %}
{% elif article.Doc_Type == 'Working Papers' %}
{% include "exports/include_doctype/report_and_working_paper_short.html" with article=article %}
{% elif article.Doc_Type == 'PROC' %}
{% elif article.Doc_Type == 'Reports' %}
{% include "exports/include_doctype/report_and_working_paper_short.html" with article=article %}
{% elif article.Doc_Type == 'Conference Proceedings' %}
{% include "exports/include_doctype/conference_proceeding_short.html" with article=article %}
{% elif article.Doc_Type == 'CONF' %}
{% elif article.Doc_Type == 'Conference Papers' %}
{% include "exports/include_doctype/conference_paper_short.html" with article=article %}
{% elif article.Doc_Type == 'POST_TALK' %}
{% elif article.Doc_Type == 'Posters' %}
{% include "exports/include_doctype/poster_and_talks_short.html" with article=article %}
{% elif article.Doc_Type == 'Talks' %}
{% include "exports/include_doctype/poster_and_talks_short.html" with article=article %}
{% elif article.Doc_Type == 'STUDENT' %}
{% elif article.Doc_Type == 'Student Projects' %}
{% include "exports/include_doctype/student_project_short.html" with article=article %}
{% elif article.Doc_Type == 'BOOK' %}
{% elif article.Doc_Type == 'Books' %}
{% include "exports/include_doctype/book_short.html" with article=article %}
{% elif article.Doc_Type == 'BOOK_CHAP' %}
{% elif article.Doc_Type == 'Book Chapters' %}
{% include "exports/include_doctype/book_chapter_short.html" with article=article %}
{% elif article.Doc_Type == 'PATENT' %}
{% elif article.Doc_Type == 'Patents' %}
{% include "exports/include_doctype/patent_short.html" with article=article %}
{% else %}

Expand Down