summaryrefslogtreecommitdiff
path: root/resources/views/list.blade.php
diff options
context:
space:
mode:
Diffstat (limited to 'resources/views/list.blade.php')
-rw-r--r--resources/views/list.blade.php12
1 files changed, 12 insertions, 0 deletions
diff --git a/resources/views/list.blade.php b/resources/views/list.blade.php
index f47c28a..1f6fc72 100644
--- a/resources/views/list.blade.php
+++ b/resources/views/list.blade.php
@@ -53,6 +53,10 @@ html {
<div class="card-body">
<p class="card-text">
You are looking at all articles with the topic <strong>"{{ Request::route()->parameters()["topic"] }}"</strong>. We found {{ $count }} matches.
+ <br>
+ <br>
+ <strong>Hint:</strong>
+ <em>To view all topics, <a href="{{ route('topic_index') }}" title="all topics">click here</a>. Too see the most popular topics, <a href="{{ route('popular_topics') }}" title="popular topics">click here instead</a>.</em>
</p>
</div>
@elseif ( "random" == Request::route()->getName() )
@@ -79,6 +83,14 @@ html {
</a>
</div>
</h1>
+ @if ( "popular" == Request::route()->getName() )
+ <div class="card-body">
+ <p class="card-text">
+ <strong>Hint:</strong>
+ <em>You are looking at the most popular articles. If you are interested in popular topics instead, <a href="{{ route('popular_topics') }}" title="popular topics">click here</a>.</em>
+ </p>
+ </div>
+ @endif
@endif
</div>