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"
|
:hasPrevious="hasPrevious"
|
||||||
:activePage="activePage"
|
:activePage="activePage"
|
||||||
:activeResourceCount="activeResourceCount"
|
:activeResourceCount="activeResourceCount"
|
||||||
@back="previousResults"
|
|
||||||
@next="nextResults"
|
|
||||||
:key="'Top'"
|
:key="'Top'"
|
||||||
:pageSize="pageSize"
|
:pageSize="pageSize"
|
||||||
|
@back="previousResults"
|
||||||
|
@next="nextResults"
|
||||||
/>
|
/>
|
||||||
<masonry-grid v-if="activeTab === 'Post'">
|
<masonry-grid v-if="activeTab === 'Post'">
|
||||||
<masonry-grid-item v-for="resource in activeResources" :key="resource.key">
|
<masonry-grid-item v-for="resource in activeResources" :key="resource.key">
|
||||||
@ -46,6 +46,7 @@
|
|||||||
</base-card>
|
</base-card>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<ul v-if="activeTab === 'Hashtag'" class="hashtag-list">
|
<ul v-if="activeTab === 'Hashtag'" class="hashtag-list">
|
||||||
<li v-for="resource in activeResources" :key="resource.key" class="item">
|
<li v-for="resource in activeResources" :key="resource.key" class="item">
|
||||||
<base-card :wideContent="true">
|
<base-card :wideContent="true">
|
||||||
@ -61,11 +62,11 @@
|
|||||||
:activePage="activePage"
|
:activePage="activePage"
|
||||||
:showPageCounter="true"
|
:showPageCounter="true"
|
||||||
:activeResourceCount="activeResourceCount"
|
:activeResourceCount="activeResourceCount"
|
||||||
@back="previousResults"
|
|
||||||
@next="nextResults"
|
|
||||||
:key="'Bottom'"
|
:key="'Bottom'"
|
||||||
:pageSize="pageSize"
|
:pageSize="pageSize"
|
||||||
:srollTo="'#search-results'"
|
:srollTo="'#search-results'"
|
||||||
|
@back="previousResults"
|
||||||
|
@next="nextResults"
|
||||||
/>
|
/>
|
||||||
</template>
|
</template>
|
||||||
</section>
|
</section>
|
||||||
|
|||||||
@ -1,11 +1,11 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="pagination-buttons">
|
<div class="pagination-buttons">
|
||||||
<base-button
|
<base-button
|
||||||
v-if="hasPrevious"
|
:disabled="!hasPrevious"
|
||||||
@click="$emit('back')"
|
|
||||||
icon="arrow-left"
|
icon="arrow-left"
|
||||||
circle
|
circle
|
||||||
class="previous-button"
|
class="previous-button"
|
||||||
|
@click="$emit('back')"
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<span v-if="showPageCounter" class="pagination-pageCount">
|
<span v-if="showPageCounter" class="pagination-pageCount">
|
||||||
@ -14,11 +14,11 @@
|
|||||||
</span>
|
</span>
|
||||||
|
|
||||||
<base-button
|
<base-button
|
||||||
v-if="hasNext"
|
:disabled="!hasNext"
|
||||||
@click="$emit('next')"
|
|
||||||
icon="arrow-right"
|
icon="arrow-right"
|
||||||
circle
|
circle
|
||||||
class="next-button"
|
class="next-button"
|
||||||
|
@click="$emit('next')"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
@ -599,7 +599,8 @@
|
|||||||
"no-results": "Keine Ergebnisse für \"{search}\" gefunden. Versuch' es mit einem anderen Begriff!",
|
"no-results": "Keine Ergebnisse für \"{search}\" gefunden. Versuch' es mit einem anderen Begriff!",
|
||||||
"page": "Seite",
|
"page": "Seite",
|
||||||
"placeholder": "Suchen",
|
"placeholder": "Suchen",
|
||||||
"results": "Ergebniss gefunden ::: Ergebnisse gefunden"
|
"results": "Ergebnis gefunden ::: Ergebnisse gefunden",
|
||||||
|
"title": "Suchergebnisse"
|
||||||
},
|
},
|
||||||
"settings": {
|
"settings": {
|
||||||
"blocked-users": {
|
"blocked-users": {
|
||||||
|
|||||||
@ -599,7 +599,8 @@
|
|||||||
"no-results": "No results found for \"{search}\". Try a different search term!",
|
"no-results": "No results found for \"{search}\". Try a different search term!",
|
||||||
"page": "Page",
|
"page": "Page",
|
||||||
"placeholder": "Search",
|
"placeholder": "Search",
|
||||||
"results": "result found ::: results found"
|
"results": "result found ::: results found",
|
||||||
|
"title": "Search Results"
|
||||||
},
|
},
|
||||||
"settings": {
|
"settings": {
|
||||||
"blocked-users": {
|
"blocked-users": {
|
||||||
|
|||||||
@ -10,7 +10,7 @@ export default {
|
|||||||
watchQuery: ['search'],
|
watchQuery: ['search'],
|
||||||
head() {
|
head() {
|
||||||
return {
|
return {
|
||||||
title: 'SearchResults',
|
title: this.$t('search.title'),
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
components: {
|
components: {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user