fix(front): search translations and layout
This commit is contained in:
parent
b913eb8dc6
commit
aee2eaa0ec
|
@ -19,7 +19,6 @@ import RadioButton from '~/components/radios/Button.vue'
|
||||||
import TagsList from '~/components/tags/List.vue'
|
import TagsList from '~/components/tags/List.vue'
|
||||||
|
|
||||||
import Modal from '~/components/ui/Modal.vue'
|
import Modal from '~/components/ui/Modal.vue'
|
||||||
import Button from '~/components/ui/Button.vue'
|
|
||||||
import Spacer from '~/components/ui/Spacer.vue'
|
import Spacer from '~/components/ui/Spacer.vue'
|
||||||
import Input from '~/components/ui/Input.vue'
|
import Input from '~/components/ui/Input.vue'
|
||||||
import Section from '~/components/ui/Section.vue'
|
import Section from '~/components/ui/Section.vue'
|
||||||
|
@ -189,7 +188,7 @@ const categories = computed(() => [
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
type: 'rss',
|
type: 'rss',
|
||||||
label: t('views.Search.label.rss'),
|
label: t('views.Search.header.rss'),
|
||||||
endpoint: '/channels/rss-subscribe/',
|
endpoint: '/channels/rss-subscribe/',
|
||||||
post: true,
|
post: true,
|
||||||
params: {
|
params: {
|
||||||
|
@ -198,7 +197,7 @@ const categories = computed(() => [
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
type: 'federation',
|
type: 'federation',
|
||||||
label: t('views.Search.label.fetches'),
|
label: t('views.Search.header.remote'),
|
||||||
endpoint: '/federation/fetches/',
|
endpoint: '/federation/fetches/',
|
||||||
post: true,
|
post: true,
|
||||||
params: {
|
params: {
|
||||||
|
@ -434,7 +433,7 @@ watch(queryDebounced, search, { immediate: true })
|
||||||
>
|
>
|
||||||
<Section
|
<Section
|
||||||
align-left
|
align-left
|
||||||
no-items
|
:columns-per-item="1"
|
||||||
:h3="`${
|
:h3="`${
|
||||||
!isCategoryQueried(category)
|
!isCategoryQueried(category)
|
||||||
? '...'
|
? '...'
|
||||||
|
@ -516,8 +515,8 @@ watch(queryDebounced, search, { immediate: true })
|
||||||
/>
|
/>
|
||||||
<Link
|
<Link
|
||||||
v-else-if="'more' in category"
|
v-else-if="'more' in category"
|
||||||
ghost
|
solid
|
||||||
full
|
secondary
|
||||||
:to="category.more"
|
:to="category.more"
|
||||||
>
|
>
|
||||||
{{ t('components.Home.link.viewMore') }}
|
{{ t('components.Home.link.viewMore') }}
|
||||||
|
|
Loading…
Reference in New Issue