mirror of
https://github.com/owntone/owntone-server.git
synced 2025-11-10 22:10:15 -05:00
[web] Streamline naming of elements
This commit is contained in:
@@ -35,8 +35,8 @@
|
||||
/>
|
||||
<list-tracks :items="tracks" :uris="album.uri" />
|
||||
<modal-dialog-album
|
||||
:item="album"
|
||||
:show="show_details_modal"
|
||||
:album="album"
|
||||
@close="show_details_modal = false"
|
||||
/>
|
||||
</template>
|
||||
|
||||
@@ -41,8 +41,8 @@
|
||||
/>
|
||||
<list-tracks-spotify :items="tracks" :context_uri="album.uri" />
|
||||
<modal-dialog-album-spotify
|
||||
:item="album"
|
||||
:show="show_details_modal"
|
||||
:album="album"
|
||||
@close="show_details_modal = false"
|
||||
/>
|
||||
</template>
|
||||
|
||||
@@ -61,8 +61,8 @@
|
||||
</p>
|
||||
<list-albums :items="albums" />
|
||||
<modal-dialog-artist
|
||||
:item="artist"
|
||||
:show="show_details_modal"
|
||||
:artist="artist"
|
||||
@close="show_details_modal = false"
|
||||
/>
|
||||
</template>
|
||||
|
||||
@@ -35,8 +35,8 @@
|
||||
<template #no-more> </template>
|
||||
</VueEternalLoading>
|
||||
<modal-dialog-artist-spotify
|
||||
:item="artist"
|
||||
:show="show_details_modal"
|
||||
:artist="artist"
|
||||
@close="show_details_modal = false"
|
||||
/>
|
||||
</template>
|
||||
|
||||
@@ -62,8 +62,8 @@
|
||||
</p>
|
||||
<list-tracks :items="tracks" :uris="track_uris" />
|
||||
<modal-dialog-artist
|
||||
:item="artist"
|
||||
:show="show_details_modal"
|
||||
:artist="artist"
|
||||
@close="show_details_modal = false"
|
||||
/>
|
||||
</template>
|
||||
|
||||
@@ -39,8 +39,8 @@
|
||||
/>
|
||||
<list-tracks :items="tracks" :uris="album.uri" />
|
||||
<modal-dialog-album
|
||||
:item="album"
|
||||
:show="show_details_modal"
|
||||
:album="album"
|
||||
:media_kind="'audiobook'"
|
||||
@close="show_details_modal = false"
|
||||
/>
|
||||
|
||||
@@ -29,8 +29,8 @@
|
||||
/>
|
||||
<list-albums :items="albums" />
|
||||
<modal-dialog-artist
|
||||
:item="artist"
|
||||
:show="show_details_modal"
|
||||
:artist="artist"
|
||||
@close="show_details_modal = false"
|
||||
/>
|
||||
</template>
|
||||
|
||||
@@ -36,8 +36,8 @@
|
||||
</p>
|
||||
<list-albums :items="albums" />
|
||||
<modal-dialog-composer
|
||||
:item="composer"
|
||||
:show="show_details_modal"
|
||||
:composer="composer"
|
||||
@close="show_details_modal = false"
|
||||
/>
|
||||
</template>
|
||||
|
||||
@@ -50,8 +50,8 @@
|
||||
</p>
|
||||
<list-tracks :items="tracks" :expression="expression" />
|
||||
<modal-dialog-composer
|
||||
:item="composer"
|
||||
:show="show_details_modal"
|
||||
:composer="composer"
|
||||
@close="show_details_modal = false"
|
||||
/>
|
||||
</template>
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
</div>
|
||||
</template>
|
||||
<template #content>
|
||||
<list-directories :directories="dirs" />
|
||||
<list-directories :items="dirs" />
|
||||
<list-playlists :items="playlists" />
|
||||
<list-tracks
|
||||
:expression="play_expression"
|
||||
@@ -28,8 +28,8 @@
|
||||
:show_icon="true"
|
||||
/>
|
||||
<modal-dialog-directory
|
||||
:item="current_directory"
|
||||
:show="show_details_modal"
|
||||
:directory="current_directory"
|
||||
@close="show_details_modal = false"
|
||||
/>
|
||||
</template>
|
||||
|
||||
@@ -35,7 +35,7 @@
|
||||
</p>
|
||||
<list-albums :items="albums" />
|
||||
<modal-dialog-genre
|
||||
:genre="genre"
|
||||
:item="genre"
|
||||
:media_kind="media_kind"
|
||||
:show="show_details_modal"
|
||||
@close="show_details_modal = false"
|
||||
|
||||
@@ -44,9 +44,9 @@
|
||||
</p>
|
||||
<list-tracks :items="tracks" :expression="expression" />
|
||||
<modal-dialog-genre
|
||||
:show="show_details_modal"
|
||||
:genre="genre"
|
||||
:item="genre"
|
||||
:media_kind="media_kind"
|
||||
:show="show_details_modal"
|
||||
@close="show_details_modal = false"
|
||||
/>
|
||||
</template>
|
||||
@@ -155,7 +155,6 @@ export default {
|
||||
query: { media_kind: this.media_kind }
|
||||
})
|
||||
},
|
||||
|
||||
play() {
|
||||
webapi.player_play_expression(this.expression, true)
|
||||
}
|
||||
|
||||
@@ -25,8 +25,8 @@
|
||||
/>
|
||||
<list-tracks :items="tracks" :uris="uris" />
|
||||
<modal-dialog-playlist
|
||||
:item="playlist"
|
||||
:show="show_details_modal"
|
||||
:playlist="playlist"
|
||||
:uris="uris"
|
||||
@close="show_details_modal = false"
|
||||
/>
|
||||
|
||||
@@ -37,8 +37,8 @@
|
||||
<template #no-more> </template>
|
||||
</VueEternalLoading>
|
||||
<modal-dialog-playlist-spotify
|
||||
:item="playlist"
|
||||
:show="show_playlist_details_modal"
|
||||
:playlist="playlist"
|
||||
@close="show_playlist_details_modal = false"
|
||||
/>
|
||||
</template>
|
||||
|
||||
@@ -37,8 +37,8 @@
|
||||
@play-count-changed="reload_tracks"
|
||||
/>
|
||||
<modal-dialog-album
|
||||
:item="album"
|
||||
:show="show_details_modal"
|
||||
:album="album"
|
||||
:media_kind="'podcast'"
|
||||
@close="show_details_modal = false"
|
||||
@play-count-changed="reload_tracks"
|
||||
|
||||
Reference in New Issue
Block a user