mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-13 07:46:06 +00:00
changes requested by review https://github.com/Human-Connection/Human-Connection/pull/3271
This commit is contained in:
parent
e90bc9fd46
commit
d049ad5d3e
@ -28,10 +28,10 @@
|
||||
:hasPrevious="hasPrevious"
|
||||
:activePage="activePage"
|
||||
:activeResourceCount="activeResourceCount"
|
||||
@back="previousResults"
|
||||
@next="nextResults"
|
||||
:key="'Top'"
|
||||
:pageSize="pageSize"
|
||||
@back="previousResults"
|
||||
@next="nextResults"
|
||||
/>
|
||||
<masonry-grid v-if="activeTab === 'Post'">
|
||||
<masonry-grid-item v-for="resource in activeResources" :key="resource.key">
|
||||
@ -46,6 +46,7 @@
|
||||
</base-card>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<ul v-if="activeTab === 'Hashtag'" class="hashtag-list">
|
||||
<li v-for="resource in activeResources" :key="resource.key" class="item">
|
||||
<base-card :wideContent="true">
|
||||
@ -61,11 +62,11 @@
|
||||
:activePage="activePage"
|
||||
:showPageCounter="true"
|
||||
:activeResourceCount="activeResourceCount"
|
||||
@back="previousResults"
|
||||
@next="nextResults"
|
||||
:key="'Bottom'"
|
||||
:pageSize="pageSize"
|
||||
:srollTo="'#search-results'"
|
||||
@back="previousResults"
|
||||
@next="nextResults"
|
||||
/>
|
||||
</template>
|
||||
</section>
|
||||
|
||||
@ -1,11 +1,11 @@
|
||||
<template>
|
||||
<div class="pagination-buttons">
|
||||
<base-button
|
||||
v-if="hasPrevious"
|
||||
@click="$emit('back')"
|
||||
:disabled="!hasPrevious"
|
||||
icon="arrow-left"
|
||||
circle
|
||||
class="previous-button"
|
||||
@click="$emit('back')"
|
||||
/>
|
||||
|
||||
<span v-if="showPageCounter" class="pagination-pageCount">
|
||||
@ -14,11 +14,11 @@
|
||||
</span>
|
||||
|
||||
<base-button
|
||||
v-if="hasNext"
|
||||
@click="$emit('next')"
|
||||
:disabled="!hasNext"
|
||||
icon="arrow-right"
|
||||
circle
|
||||
class="next-button"
|
||||
@click="$emit('next')"
|
||||
/>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
@ -599,7 +599,8 @@
|
||||
"no-results": "Keine Ergebnisse für \"{search}\" gefunden. Versuch' es mit einem anderen Begriff!",
|
||||
"page": "Seite",
|
||||
"placeholder": "Suchen",
|
||||
"results": "Ergebniss gefunden ::: Ergebnisse gefunden"
|
||||
"results": "Ergebnis gefunden ::: Ergebnisse gefunden",
|
||||
"title": "Suchergebnisse"
|
||||
},
|
||||
"settings": {
|
||||
"blocked-users": {
|
||||
|
||||
@ -599,7 +599,8 @@
|
||||
"no-results": "No results found for \"{search}\". Try a different search term!",
|
||||
"page": "Page",
|
||||
"placeholder": "Search",
|
||||
"results": "result found ::: results found"
|
||||
"results": "result found ::: results found",
|
||||
"title": "Search Results"
|
||||
},
|
||||
"settings": {
|
||||
"blocked-users": {
|
||||
|
||||
@ -10,7 +10,7 @@ export default {
|
||||
watchQuery: ['search'],
|
||||
head() {
|
||||
return {
|
||||
title: 'SearchResults',
|
||||
title: this.$t('search.title'),
|
||||
}
|
||||
},
|
||||
components: {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user