Skip to content

Instantly share code, notes, and snippets.

@mmarum-sugarcrm
Created October 16, 2015 22:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mmarum-sugarcrm/e988e6ed4d9ad1fb6c08 to your computer and use it in GitHub Desktop.
Save mmarum-sugarcrm/e988e6ed4d9ad1fb6c08 to your computer and use it in GitHub Desktop.
Contextual Frame Dashlet templates
{{!--
Copyright 2015 SugarCRM Inc. Licensed by SugarCRM under the Apache 2.0 license.
--}}
<div class="record">
{{#each dashletConfig.config.fields}}
<div class="row-fluid panel_body">
<div class="record-cell">
<div class="record-label">{{str label}}</div>
{{field ../this model=../this.settings template=../this.action}}
</div>
</div>
{{/each}}
</div>
{{!--
Copyright 2015 SugarCRM Inc. Licensed by SugarCRM under the Apache 2.0 license.
--}}
<iframe frameborder="0" width="100%" height="{{frameHeight}}" src="{{url}}?{{#if record}}&record={{record}}{{/if}}&{{#if moduleName}}moduleName={{moduleName}}{{/if}}"></iframe>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment