dx: Paths in frontend templates: shorten

This commit is contained in:
upsiflu 2024-11-06 09:11:32 +01:00
parent 684fc13f7e
commit b17c929801
10 changed files with 10 additions and 10 deletions

View File

@ -26,7 +26,7 @@ const image = artist.cover
</script> </script>
<template> <template>
/Users/arnology/Sites/funkwhale/funkwhale/front/src/components/artist/Card.vue /front/src/components/artist/Card.vue
<fw-card <fw-card
:title="artist.name" :title="artist.name"
:image="image" :image="image"

View File

@ -72,7 +72,7 @@ const labels = computed(() => ({
<template> <template>
<div> <div>
/Users/arnology/Sites/funkwhale/funkwhale/front/src/components/audio/Search.vue /front/src/components/audio/Search.vue
<h2> <h2>
{{ $t('components.audio.Search.header.search') }} {{ $t('components.audio.Search.header.search') }}
</h2> </h2>

View File

@ -143,7 +143,7 @@ const remove = async () => {
<section class="ui vertical stripe segment channel-serie"> <section class="ui vertical stripe segment channel-serie">
<div class="ui stackable grid container"> <div class="ui stackable grid container">
<div class="ui seven wide column"> <div class="ui seven wide column">
/Users/arnology/Sites/funkwhale/funkwhale/front/src/components/library/AlbumBase.vue /front/src/components/library/AlbumBase.vue
<div <div
v-if="isSerie" v-if="isSerie"
class="padded basic segment" class="padded basic segment"

View File

@ -120,7 +120,7 @@ const paginateOptions = computed(() => sortedUniq([12, 25, 50, paginateBy.value]
<template> <template>
<main v-title="labels.title"> <main v-title="labels.title">
<section class="ui vertical stripe segment"> <section class="ui vertical stripe segment">
/Users/arnology/Sites/funkwhale/funkwhale/front/src/components/library/Albums.vue /front/src/components/library/Albums.vue
<h2 class="ui header"> <h2 class="ui header">
{{ $t('components.library.Albums.header.browse') }} {{ $t('components.library.Albums.header.browse') }}
</h2> </h2>

View File

@ -122,7 +122,7 @@ const paginateOptions = computed(() => sortedUniq([12, 30, 50, paginateBy.value]
<template> <template>
<main v-title="labels.title"> <main v-title="labels.title">
<section class="ui vertical stripe segment"> <section class="ui vertical stripe segment">
/Users/arnology/Sites/funkwhale/funkwhale/front/src/components/library/Artists.vue /front/src/components/library/Artists.vue
<h2 class="ui header"> <h2 class="ui header">
{{ $t('components.library.Artists.header.browse') }} {{ $t('components.library.Artists.header.browse') }}
</h2> </h2>

View File

@ -102,7 +102,7 @@ const labels = computed(() => ({
<template> <template>
<div> <div>
<div class="ui inline form"> <div class="ui inline form">
/Users/arnology/Sites/funkwhale/funkwhale/front/src/components/manage/library/AlbumsTable.vue /front/src/components/manage/library/AlbumsTable.vue
<div class="fields"> <div class="fields">
<div class="ui six wide field"> <div class="ui six wide field">
<label for="albums-search">{{ $t('components.manage.library.AlbumsTable.label.search') }}</label> <label for="albums-search">{{ $t('components.manage.library.AlbumsTable.label.search') }}</label>

View File

@ -225,7 +225,7 @@ const radioConfig = computed(() => {
class="main pusher" class="main pusher"
> >
<section class="ui vertical stripe segment"> <section class="ui vertical stripe segment">
/Users/arnology/Sites/funkwhale/funkwhale/front/src/components/audio/Search.vue /front/src/components/audio/Search.vue
<div <div
v-if="id" v-if="id"
class="ui small text container" class="ui small text container"

View File

@ -20,7 +20,7 @@ const defaultQuota = computed(() => humanSize(quota.value * 1e6))
v-title="labels.title" v-title="labels.title"
class="ui vertical aligned stripe segment" class="ui vertical aligned stripe segment"
> >
/Users/arnology/Sites/funkwhale/funkwhale/front/src/components/audio/Search.vue /front/src/components/audio/Search.vue
<div class="ui text container"> <div class="ui text container">
<h1>{{ labels.title }}</h1> <h1>{{ labels.title }}</h1>
<p> <p>

View File

@ -41,7 +41,7 @@ const libraryCreated = (library: Library) => {
<template> <template>
<section class="ui vertical aligned stripe segment"> <section class="ui vertical aligned stripe segment">
/Users/arnology/Sites/funkwhale/funkwhale/front/src/components/audio/Search.vue /front/src/components/audio/Search.vue
<div <div
v-if="isLoading" v-if="isLoading"
:class="['ui', {'active': isLoading}, 'inverted', 'dimmer']" :class="['ui', {'active': isLoading}, 'inverted', 'dimmer']"

View File

@ -86,7 +86,7 @@ const updateUploads = (count: number) => {
<template> <template>
<main v-title="labels.title"> <main v-title="labels.title">
<div class="ui vertical stripe segment container"> <div class="ui vertical stripe segment container">
/Users/arnology/Sites/funkwhale/funkwhale/front/src/views/library/LibraryBase.vue /front/src/views/library/LibraryBase.vue
<div <div
v-if="isLoading" v-if="isLoading"
class="ui centered active inline loader" class="ui centered active inline loader"