rb:dashboard

Description

Renders a standard Sociali dashboard header.

Dashboards can contain the following elements:



Notes

  • For an application with an icon, the icon appears next to the application title.
  • You cannot include tags like rb:if-user-has-added-app inside a dashboard. You can do the equivalent as illustrated below to create a dashboard that determines when a user has or has not added an application. This snippet mixes in Smarty code. While you can refactor this code, the detail is included for those unfamiliar with Smarty.
<rb:if-user-has-added-app>
  {if $isOwnSchedule == 'true'}
  		<rb:dashboard>
  			{include file='header-actions-internal.tpl'
}  		</rb:dashboard>
  	<rb:else>
  		<rb:dashboard>
  			{include file='header-actions-internal.tpl'}
  			<rb:action href="http://apps.Sociali.com/add.php?api_key=">Add this app</rb:action>
  		</rb:dashboard>
  {else}
  		<rb:dashboard>
  			{include file='header-actions-external.tpl'}
  		</rb:dashboard>  
	<rb:else>
  		<rb:dashboard>
  			{include file='header-actions-external.tpl'}
   			<rb:action href="http://apps.Sociali.com/add.php?api_key=">Add this app</rb:action>
  		</rb:dashboard>  {/if}  </rb:else>  </rb:if-user-has-added-app>