SAAS-940: Provide usability hints to user
Customized hints depending on what page the user is on and what action they just completed.
This commit is contained in:
parent
48547ee347
commit
25ef70767b
7 changed files with 131 additions and 1 deletions
|
@ -71,6 +71,16 @@ j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
|
|||
|
||||
|
||||
<div class="wrapper" id="content">
|
||||
<?php
|
||||
$hint = Application_Common_UsabilityHints::getUsabilityHint();
|
||||
Logging::info($hint);
|
||||
if ($hint != "") { ?>
|
||||
<div class="usability_hint"><?php echo $hint; ?></div>
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
|
||||
<!--
|
||||
<?php if (Application_Common_UsabilityHints::zeroFilesUploaded()) { ?>
|
||||
<div class="usability_hint">
|
||||
<?php echo sprintf(_("It looks like you have not uploaded any audio files yet. %shere%s to upload a file."), "Click <a href='/plupload'>", "</a>"); ?>
|
||||
|
@ -88,6 +98,7 @@ j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
|
|||
<?php echo sprintf(_("To start broadcasting click %shere%s to schedule a track into your show."), "<a href='/showbuilder'>", "</a>"); ?>
|
||||
</div>
|
||||
<?php } ?>
|
||||
-->
|
||||
|
||||
<?php echo $this->layout()->content ?></div>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue