Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
vtigercrm
Manage
Activity
Members
Labels
Plan
Issues
518
Issue boards
Milestones
Wiki
Code
Merge requests
80
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Admin message
Welcome to Vtiger Community. To gain access for account, please contact [ community @ vtiger.com ]
Show more breadcrumbs
vtiger
vtigercrm
Merge requests
!175
Fixes
#494
,
#496
- Updated banner ui in dashboard page
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Fixes
#494
,
#496
- Updated banner ui in dashboard page
satish.dvnk/vtigercrm:v7
into
master
Overview
0
Commits
2
Changes
16
Merged
Satish
requested to merge
satish.dvnk/vtigercrm:v7
into
master
8 years ago
Overview
0
Commits
2
Changes
-
Expand
👍
0
👎
0
Merge request reports
Compare
master
master (base)
and
latest version
latest version
dce23f6d
2 commits,
8 years ago
+
268
−
186
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
Search (e.g. *.vue) (Ctrl+P)
layouts/v7/modules/ExtensionStore/Promotions.tpl
+
27
−
28
Options
{*<!--
/*********************************************************************************
** The contents of this file are subject to the vtiger CRM Public License Version 1.0
{*+**********************************************************************************
* The contents of this file are subject to the vtiger CRM Public License Version 1.1
* ("License"); You may not use this file except in compliance with the License
* The Original Code is: vtiger CRM Open Source
* The Initial Developer of the Original Code is vtiger.
* Portions created by vtiger are Copyright (C) vtiger.
* All Rights Reserved.
*
********************************************************************************/
-->*}
*************************************************************************************}
{strip}
{foreach $HEADER_SCRIPTS as $SCRIPT}
<script type="{$SCRIPT->getType()}" src="{$SCRIPT->getSrc()}" />
{/foreach}
<div class="banner-container" style="
border-bottom
:
1
px
solid #ffffff;box-sizing: border-bo
x;">
<div class="row
-fluid
"></div>
<div class="banner">
<ul class="bxslider">
{foreach $PROMOTIONS as $PROMOTION}
<li>
{assign var=SUMMARY value=$PROMOTION->get('summary')}
{assign var=EXTENSION_NAME value=$PROMOTION->get('label')}
{if is_numeric($SUMMARY)}
{assign var=LOCATION_URL value=$PROMOTION->getLocationUrl($SUMMARY, $EXTENSION_NAME)}
{else}
{assign var=LOCATION_URL value={$SUMMARY}}
{/if}
<a onclick="window.open('{$LOCATION_URL}')"><img src="{if $PROMOTION->get('bannerURL')}{$PROMOTION->get('bannerURL')}{/if}" title="{$PROMOTION->get('label')}" /></a>
</li>
{/foreach}
</ul>
</div>
</div>
{foreach $HEADER_SCRIPTS as $SCRIPT}
<script type="{$SCRIPT->getType()}" src="{$SCRIPT->getSrc()}" />
{/foreach}
<div class="banner-container" style="
margin
:
0
px
10p
x;">
<div class="row"></div>
<div class="banner">
<ul class="bxslider">
{foreach $PROMOTIONS as $PROMOTION}
<li>
{assign var=SUMMARY value=$PROMOTION->get('summary')}
{assign var=EXTENSION_NAME value=$PROMOTION->get('label')}
{if is_numeric($SUMMARY)}
{assign var=LOCATION_URL value=$PROMOTION->getLocationUrl($SUMMARY, $EXTENSION_NAME)}
{else}
{assign var=LOCATION_URL value={$SUMMARY}}
{/if}
<a onclick="window.open('{$LOCATION_URL}')"><img src="{if $PROMOTION->get('bannerURL')}{$PROMOTION->get('bannerURL')}{/if}" title="{$PROMOTION->get('label')}" /></a>
</li>
{/foreach}
</ul>
</div>
</div>
{/strip}
\ No newline at end of file
Loading