Skip to content

Commit

Permalink
renamed doc_types in template short (#73)
Browse files Browse the repository at this point in the history
* renamed doc_types in template short
  • Loading branch information
dragonleman authored Mar 21, 2018
1 parent 37056ea commit 31f3e42
Showing 1 changed file with 16 additions and 12 deletions.
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

0 comments on commit 31f3e42

Please sign in to comment.