aboutsummaryrefslogtreecommitdiffstats
path: root/fatcat_covid19
diff options
context:
space:
mode:
Diffstat (limited to 'fatcat_covid19')
-rw-r--r--fatcat_covid19/templates/base.html6
-rw-r--r--fatcat_covid19/templates/fulltext_search.html4
-rw-r--r--fatcat_covid19/templates/home.html2
3 files changed, 6 insertions, 6 deletions
diff --git a/fatcat_covid19/templates/base.html b/fatcat_covid19/templates/base.html
index 5d57a89..137b82e 100644
--- a/fatcat_covid19/templates/base.html
+++ b/fatcat_covid19/templates/base.html
@@ -5,7 +5,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="referrer" content="origin-when-cross-origin">
- <title>COVID-19 Research Search</title>
+ <title>{{ _("COVID-19 Research Search") }}</title>
<link rel="stylesheet"
href="https://cdn.jsdelivr.net/npm/semantic-ui@2.4.1/dist/semantic.min.css"
@@ -36,7 +36,7 @@
<a href="{{ url_for("search.page_sources") }}" class="item mobile-hide">{{ _("Sources") }}</a>
<div class="right menu">
<div class="item" style="padding: 0;">
- <form class="" action="/fulltext/search" method="get" role="search" aria-label="Papers">
+ <form class="" action="{{ url_for("search.fulltext_search") }}" method="get" role="search" aria-label="Papers">
<div class="ui transparent inverted icon input">
<i class="search icon" style="padding-right: 2em;"></i>
<input type="text" placeholder="{{ _("Search Papers...") }}" name="q" style="border: 1px solid #777 !important; padding: 5px !important; width: 15em;">
@@ -103,7 +103,7 @@
<footer class="ui inverted vertical footer segment" style="margin-top: 2em; padding-top: 2em; padding-bottom:2em; position: absolute; bottom: 0px; width: 100%;">
<div class="ui center aligned container">
<div class="ui horizontal inverted small divided link list">
- <a class="item" href="{{ url_for("search.page_home") }}">Home</a>
+ <a class="item" href="{{ url_for("search.page_home") }}">{{ _("Home") }}</a>
<a class="item" href="{{ url_for("search.page_about") }}">{{ _("About") }}</a>
<a class="item" href="{{ url_for("search.page_sources") }}">{{ _("Sources") }}</a>
<a class="item" href="https://fatcat.wiki/">Fatcat</a>
diff --git a/fatcat_covid19/templates/fulltext_search.html b/fatcat_covid19/templates/fulltext_search.html
index d6367a8..1d54f78 100644
--- a/fatcat_covid19/templates/fulltext_search.html
+++ b/fatcat_covid19/templates/fulltext_search.html
@@ -14,11 +14,11 @@
<div class="ui vertical stripe segment" style="background-color: #EEE; padding-top: 2.5em;">
<div class="ui container text">
- <h1>Search all COVID-19 Resources</h1>
+ <h1>{{ _("Search COVID-19 documents") }}</h1>
<form class="" role="search" action="/fulltext/search" method="get">
<div class="ui form">
<div class="ui action input huge fluid">
- <input type="text" placeholder="Query..." name="q" value="{% if query %}{{ query }}{% endif %}" aria-label="search metadata">
+ <input type="text" placeholder="{{ _("Query...") }}" name="q" value="{% if query %}{{ query }}{% endif %}" aria-label="search metadata">
<button class="ui primary button">{{ _("Search") }}</button>
</div>
{#
diff --git a/fatcat_covid19/templates/home.html b/fatcat_covid19/templates/home.html
index f194f2c..bc75112 100644
--- a/fatcat_covid19/templates/home.html
+++ b/fatcat_covid19/templates/home.html
@@ -34,7 +34,7 @@
datasets, and other research resources related to the COVID-19 crisis,
including public health responses to influenza pandemics more
generally.") }}
- &nbsp;<a href="/about">{{ _("Read more...") }}</a>
+ &nbsp;<a href="{{ url_for("search.page_about") }}">{{ _("Read more...") }}</a>
</b>
</div>
</div>