SAAS-948 - frontend tweaks

This commit is contained in:
Duncan Sommerville 2015-08-12 16:54:45 -04:00
parent 61d1e6bb50
commit 32100e2d9b
4 changed files with 11 additions and 8 deletions

View file

@ -54,7 +54,7 @@ class Application_Common_UsabilityHints
if ($userIsOnAddMediaPage) {
return _("Click the 'Add files' button and select files from your computer to upload.");
} else {
return sprintf(_("It looks like you have not uploaded any audio files yet. %sUpload a file now.%s "),
return sprintf(_("It looks like you have not uploaded any audio files yet. %sUpload a file now%s."),
"<a href=\"/plupload\">",
"</a>");
}
@ -62,7 +62,7 @@ class Application_Common_UsabilityHints
if ($userIsOnCalendarPage) {
return _("Click the 'Create New Show' button and fill out the required fields.");
} else {
return sprintf(_("It looks like you don't have any shows scheduled. %sCreate a show now.%s"),
return sprintf(_("It looks like you don't have any shows scheduled. %sCreate a show now%s."),
"<a href=\"/schedule\">",
"</a>");
}
@ -73,13 +73,13 @@ class Application_Common_UsabilityHints
return _("To start broadcasting, first you need to cancel the current linked show by clicking on it and selecting 'Cancel Current Show'.");
} else {
return sprintf(_("Linked shows need to be filled with tracks before it starts. To start broadcasting cancel the current linked show and schedule an unlinked show.
%sCreate an unlinked show now.%s"), "<a href=\"/schedule\">", "</a>");
%sCreate an unlinked show now%s."), "<a href=\"/schedule\">", "</a>");
}
} else {
if ($userIsOnCalendarPage) {
return _("To start broadcasting, click on the current show and select 'Add / Remove Content'");
} else {
return sprintf(_("It looks like the current show needs more tracks. %sAdd tracks to your show now.%s"),
return sprintf(_("It looks like the current show needs more tracks. %sAdd tracks to your show now%s."),
"<a href=\"/schedule\">",
"</a>");
}
@ -88,7 +88,7 @@ class Application_Common_UsabilityHints
if ($userIsOnCalendarPage) {
return _("Click on the show starting next and select 'Add / Remove Content'");
} else {
return sprintf(_("It looks like the next show is empty. %sAdd tracks to your show now.%s"),
return sprintf(_("It looks like the next show is empty. %sAdd tracks to your show now%s."),
"<a href=\"/schedule\">",
"</a>");
}

View file

@ -615,9 +615,7 @@ li.ui-state-default {
margin: 0 4px;
}
/* Hacky */
.smart-block-form + .btn-toolbar,
.smart-block-form + .btn-toolbar + .btn-toolbar {
.smart-block-form ~ .btn-toolbar {
padding-top: 4px;
}

View file

@ -3422,6 +3422,7 @@ dd .stream-status {
background-color: #ff611f;
color: white;
font-size: 14px;
text-shadow: -1px -1px 1px rgba(0, 0, 0, 0.2);
position: fixed;
top: 139px;

View file

@ -11,6 +11,10 @@ $(document).ready(function() {
// savePanelSpace: true
//});
if($('#livechat-compact-container:not(:visible)')) {
$('.wrapper').css('padding-bottom', 10);
}
//this statement tells the browser to fade out any success message after 5 seconds
setTimeout(function(){$(".success").fadeOut("slow", function(){$(this).empty()});}, 5000);
if ($('.usability_hint:visible')) {