Files
wyczarujprezent.pl/modules/jxheaderaccount/views/templates/front/googlelink.tpl
2024-10-28 22:14:22 +01:00

65 lines
2.0 KiB
Smarty

{*
* 2017-2019 Zemez
*
* JX Header Account
*
* NOTICE OF LICENSE
*
* This source file is subject to the General Public License (GPL 2.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/GPL-2.0
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade the module to newer
* versions in the future.
*
* @author Zemez (Alexander Grosul)
* @copyright 2017-2019 Zemez
* @license http://opensource.org/licenses/GPL-2.0 General Public License (GPL 2.0)
*}
{extends file=$layout}
{block name='breadcrumb'}
<nav class="breadcrumb hidden-sm-down">
<ol itemscope itemtype="http://schema.org/BreadcrumbList">
<li itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem">
<a href="{$link->getPageLink('my-account', true)}" title="Zarządza moim kontem" rel="nofollow">Moje konto</a>
</li>
<li itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem">
<span>
<span itemprop="name">Konto Google</span>
</span>
</li>
</ol>
</nav>
{/block}
{block name="content"}
<div class="sociallogininfo">
{if $google_status == 'error'}
<div class="alert alert-danger">
{$google_massage}
</div>
<div class="box clearfix">
{if isset($google_picture)}
<div class="social-avatar"><img class="img-responsive" src="{$google_picture}"></div>
{/if}
<h4 class="social-name">{$google_name}<strong></strong>
</div>
{elseif $google_status == 'linked' || $google_status == 'confirm'}
<div class="alert alert-success">
{$google_massage}
</div>
<div class="box clearfix">
{if isset($google_picture)}
<div class="social-avatar"><img class="img-responsive" src="{$google_picture}"></div>
{/if}
<h4 class="social-name">{$google_name}</h4>
</div>
{else}
<div class="alert alert-danger">
Przepraszamy, wystąpił błąd
</div>
{/if}
</div>
{/block}