summaryrefslogtreecommitdiff
path: root/clams-server/src/main/resources/templates/posts-search.html
diff options
context:
space:
mode:
Diffstat (limited to 'clams-server/src/main/resources/templates/posts-search.html')
-rw-r--r--clams-server/src/main/resources/templates/posts-search.html14
1 files changed, 7 insertions, 7 deletions
diff --git a/clams-server/src/main/resources/templates/posts-search.html b/clams-server/src/main/resources/templates/posts-search.html
index 34a2ed5..a63c987 100644
--- a/clams-server/src/main/resources/templates/posts-search.html
+++ b/clams-server/src/main/resources/templates/posts-search.html
@@ -2,14 +2,14 @@
{% block content %}
<main class="main-container">
- <a href="/posts" class="back-link-top">&larr; back</a>
+ <a href="/posts" class="back-link-top">&larr; hjem</a>
<header>
- <h1>My posts</h1>
- <p class="intro-text">For search: "<strong>{{ search_term }}</strong>" -- Found {{ results_count }} matching posts</p>
+ <h1>Blog</h1>
+ <p class="intro-text">Søk etter: "<strong>{{ search_term }}</strong>" -- Fant {{ results_count }} resultater.</p>
<form action="/posts" method="GET" class="search-form">
<input type="text" name="search" value="{{ search_term }}" placeholder="Search posts..." aria-label="Search posts">
- <button type="submit" class="pill-button">Search</button>
+ <button type="submit" class="pill-button">Søk</button>
</form>
</header>
@@ -17,10 +17,10 @@
{% if results is empty %}
<div class="no-results">
{% if search_term is empty %}
- <p>Please enter a search term to search the posts. Or <a href="/posts">go back to all posts</a>.</p>
+ <p>Skriv inn et søk. Eller <a href="/posts">gå tilbake til alle innlegg</a>.</p>
{% else %}
- <p>Found no posts matching <strong>"{{ search_term }}"</strong>. <br>
- <a href="/posts">Go back to all posts</a>.</p>
+ <p>Fant ingen resultater for <strong>"{{ search_term }}"</strong>. <br>
+ <a href="/posts">Gå tilbake til alle innlegg</a>.</p>
{% endif %}
</div>
{% else %}