// The "contacts" module displays rooms with the VIEW_ADDRESSBOOK view as a contacts manager.
case views.VIEW_ADDRESSBOOK:
document.getElementById("ctdl-main").innerHTML =
- "<div class=\"ctdl-middle\">'" + current_room + "' is an address book but there is no renderer.</div>";
+ `<div class="ctdl-middle">'${current_room}' is an address book but there is no renderer.</div>`;
break;
case views.VIEW_CALENDAR:
case views.VIEW_CALBRIEF:
document.getElementById("ctdl-main").innerHTML =
- "<div class=\"ctdl-middle\">'" + current_room + "' is a calendar but there is no renderer.</div>";
+ `<div class="ctdl-middle">'${current_room}' is a calendar but there is no renderer.</div>`;
break;
case views.VIEW_TASKS:
document.getElementById("ctdl-main").innerHTML =
- "<div class=\"ctdl-middle\">'" + current_room + "' is a task list but there is no renderer.</div>";
+ `<div class="ctdl-middle">'${current_room}' is a task list but there is no renderer.</div>`;
break;
case views.VIEW_NOTES:
document.getElementById("ctdl-main").innerHTML =
- "<div class=\"ctdl-middle\">'" + current_room + "' is a notes list but there is no renderer.</div>";
+ `<div class="ctdl-middle">'${current_room}' is a notes list but there is no renderer.</div>`;
break;
case views.VIEW_WIKI:
document.getElementById("ctdl-main").innerHTML =
- "<div class=\"ctdl-middle\">'" + current_room + "' is a wiki but there is no renderer.</div>";
+ `<div class="ctdl-middle">'${current_room}' is a wiki but there is no renderer.</div>`;
break;
case views.VIEW_JOURNAL:
document.getElementById("ctdl-main").innerHTML =
- "<div class=\"ctdl-middle\">'" + current_room + "' is a journal but there is no renderer.</div>";
+ `<div class="ctdl-middle">'${current_room}' is a journal but there is no renderer.</div>`;
break;
case views.VIEW_BLOG:
document.getElementById("ctdl-main").innerHTML =
- "<div class=\"ctdl-middle\">'" + current_room + "' is a blog but there is no renderer.</div>";
+ `<div class="ctdl-middle">'${current_room}' is a blog but there is no renderer.</div>`;
break;
case views.VIEW_QUEUE:
document.getElementById("ctdl-main").innerHTML =
- "<div class=\"ctdl-middle\">We ought to be displaying the email queue here.</div>";
+ `<div class="ctdl-middle">'${current_room}' is the mail queue but there is no renderer.</div>`;
break;
default:
document.getElementById("ctdl-main").innerHTML =
- "<div class=\"ctdl-middle\">The view for " + current_room + " is " + current_view + " but there is no renderer.</div>";
+ `<div class="ctdl-middle">The view for '${current_room}' is ${current_view} but there is no renderer.</div>`;
break;
}