Skip to content

Commit

Permalink
Restore dashboard front page, add Insights link, restore latest insig…
Browse files Browse the repository at this point in the history
…ht updated date [ci skip]
  • Loading branch information
ginatrapani committed Aug 17, 2012
1 parent b9d4ac7 commit f1e7ad9
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
1 change: 1 addition & 0 deletions webapp/_lib/view/_statusbar.tpl
Expand Up @@ -83,6 +83,7 @@

<div class="status-bar-right text-right">
<ul>
<li><a href="insights.php">Insights <span style="color:red !important">(New!)</span></a></li>
{if $logged_in_user}
<li>Logged in as{if $user_is_admin} admin{/if}: {$logged_in_user} {if $user_is_admin}<script src="{$site_root_path}install/checkversion.php"></script>{/if}<a href="{$site_root_path}account/?m=manage" class="linkbutton">Settings</a> <a href="{$site_root_path}session/logout.php" class="linkbutton">Log Out</a></li>
{else}
Expand Down
2 changes: 1 addition & 1 deletion webapp/_lib/view/insights.tpl
Expand Up @@ -28,7 +28,7 @@
<ul class="nav nav-list">
<li class="">
{if $i->date|relative_day eq "today" }
{if $instance->crawler_last_run eq 'realtime'}Updated in realtime{else}{$instance->crawler_last_run|relative_datetime|ucfirst} ago{/if}
{if $i->instance->crawler_last_run eq 'realtime'}Updated in realtime{else}{$i->instance->crawler_last_run|relative_datetime|ucfirst} ago{/if}
{else}
{$i->date|relative_day|ucfirst}
{/if}
Expand Down
8 changes: 3 additions & 5 deletions webapp/index.php
Expand Up @@ -25,8 +25,6 @@
* @license http://www.gnu.org/licenses/gpl.html
* @copyright 2009-2012 Gina Trapani
*/
//require_once 'init.php';
//$controller = new DashboardController();
//echo $controller->go();

require_once 'insights.php';
require_once 'init.php';
$controller = new DashboardController();
echo $controller->go();

0 comments on commit f1e7ad9

Please sign in to comment.