updated manual links from UI

This commit is contained in:
Robbt 2019-04-24 20:50:11 -04:00
parent 0abb1679b5
commit dc161c4741
1 changed files with 5 additions and 6 deletions

View File

@ -94,7 +94,6 @@ var AIRTIME = (function(AIRTIME) {
PODCAST : "podcast",
});
// TODO: once the new manual pages are added, change links!
mod.placeholder = function(mediaType) {
switch (mediaType) {
// TODO: remove duplication in a nice way?
@ -103,35 +102,35 @@ var AIRTIME = (function(AIRTIME) {
"media": "tracks",
"icon": "icon-music",
"subtext": "Click 'Upload' to add some now.",
"href": "http://libretime.org/manual/add-media/"
"href": "http://libretime.org/manual/upload/"
};
case mod.MediaTypeIntegerEnum.PLAYLIST:
return {
"media": "playlists",
"icon": "icon-list",
"subtext": "Click 'New' to create one now.",
"href": "http://libretime.org/manual/library/"
"href": "http://libretime.org/manual/playlist/"
};
case mod.MediaTypeIntegerEnum.BLOCK:
return {
"media": "smart blocks",
"icon": "icon-time",
"subtext": "Click 'New' to create one now.",
"href": "http://libretime.org/manual/library/"
"href": "http://libretime.org/manual/smartblocks/"
};
case mod.MediaTypeIntegerEnum.WEBSTREAM:
return {
"media": "webstreams",
"icon": "icon-random",
"subtext": "Click 'New' to create one now.",
"href": "http://libretime.org/manual/library/"
"href": "http://libretime.org/manual/webstreams/"
};
case mod.MediaTypeIntegerEnum.PODCAST:
return {
"media": "podcasts",
"icon": "icon-headphones",
"subtext": "Click 'Add' to create one now.",
"href": "http://www.apple.com/ca/itunes/podcasts/fanfaq.html"
"href": "http://libretime.org/manual/podcasts"
};
default:
break;