Skip to content

Commit

Permalink
Add keywords and languages to paper pages
Browse files Browse the repository at this point in the history
<!-- ps-id: 376b1dee-1fcb-4185-b55e-904210976839 -->
  • Loading branch information
EntilZha committed Jul 28, 2023
1 parent 4623c5f commit 7d3546d
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 10 deletions.
12 changes: 12 additions & 0 deletions templates/paper.html
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,18 @@ <h3 class="card-subtitle mb-2 text-muted text-center">
false
)
}}
{% if paper.keywords %}
<div>
<span class="font-weight-bold">Keywords:</span>
{{paper.keywords | join(", ")}}
</div>
{% endif %}
{% if paper.languages %}
<div>
<span class="font-weight-bold">Languages:</span>
{{paper.languages | join(", ")}}
</div>
{% endif %}
<div>
<span class="font-weight-bold">TLDR:</span>
{{paper.tldr}}
Expand Down
11 changes: 1 addition & 10 deletions templates/papers.html
Original file line number Diff line number Diff line change
Expand Up @@ -221,20 +221,11 @@


<div>
<div class="btn-group btn-group-toggle render_option" data-toggle="buttons">
<div class="btn-group btn-group-toggle render_option">
<button class="btn btn-sm btn-outline-secondary visited">visited</button>
</div>
</div>

<div>
<div class="btn-group btn-group-toggle render_option pl-2 " data-toggle="buttons">
<label class="btn btn-sm btn-outline-secondary" data-tippy-content="Show/hide papers whose QA session is finished.">
<input type="checkbox" name="hide_qa_ended" display="none" onchange="hideQaEnded(allPapers, this)" />
QA not passed
</label>
</div>
</div>

<div>
<div class="btn-group pl-2 ">
<button class="btn btn-sm btn-outline-secondary reshuffle">shuffle</button>
Expand Down

0 comments on commit 7d3546d

Please sign in to comment.