first commit
This commit is contained in:
102
components/com_dvtr_employees/tmpl/employee/default.php
Normal file
102
components/com_dvtr_employees/tmpl/employee/default.php
Normal file
@@ -0,0 +1,102 @@
|
||||
<?php
|
||||
/**
|
||||
* @version CVS: 1.0.0
|
||||
* @package Com_Dvtr_employees
|
||||
* @author Pawel Potoniec <pawel@devatri.pl>
|
||||
* @copyright 2025 Pawel Potoniec
|
||||
|
||||
*/
|
||||
|
||||
// No direct access
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
use \Joomla\CMS\HTML\HTMLHelper;
|
||||
use \Joomla\CMS\Factory;
|
||||
use \Joomla\CMS\Uri\Uri;
|
||||
use \Joomla\CMS\Router\Route;
|
||||
use \Joomla\CMS\Language\Text;
|
||||
use \Joomla\CMS\Session\Session;
|
||||
use Joomla\Utilities\ArrayHelper;
|
||||
|
||||
|
||||
?>
|
||||
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
|
||||
<div class="col-8">
|
||||
<!--<div class="name">
|
||||
<h1><?php /*echo $this->item->name; */?> </h1>
|
||||
</div>-->
|
||||
<div class="desc">
|
||||
<?php
|
||||
echo JHtml::_('content.prepare', $this->item->description);
|
||||
?>
|
||||
</div>
|
||||
<div class="publications">
|
||||
<?php
|
||||
echo JHtml::_('content.prepare', $this->item->publications);
|
||||
?>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-4">
|
||||
<div class="avatar">
|
||||
<img src="<?php echo $this->item->avatar ? $this->item->avatar : '/images/O%20instytucie/avatar.png'; ?>" alt="avatar"/>
|
||||
</div>
|
||||
<div class="name">
|
||||
<strong><?php echo $this->item->name; ?></strong>
|
||||
</div>
|
||||
<!-- <div class="url">
|
||||
<?php /*if(!empty($this->item->url)):*/?>
|
||||
<a href="<?php /*echo $this->item->url */?>">
|
||||
<?php /*echo $this->item->url */?>
|
||||
</a>
|
||||
<?php /*endif;*/?>
|
||||
</div>-->
|
||||
<div class="contact_data">
|
||||
|
||||
<?php
|
||||
echo JHtml::_('content.prepare', $this->item->contact_data);
|
||||
?>
|
||||
</div>
|
||||
<div class="achievements">
|
||||
<strong><?php echo $this->item->achievements_label;?></strong><br/>
|
||||
<?php
|
||||
echo JHtml::_('content.prepare', $this->item->achievements);
|
||||
?>
|
||||
</div>
|
||||
<div class="social-media">
|
||||
<?php if(!empty($this->item->social_linkedin)):?>
|
||||
<a href="<?php echo $this->item->social_linkedin ?>">
|
||||
<!-- <i class="fa fa-linkedin"></i>-->
|
||||
|
||||
<img src="/media/com_quantummanager/images/icons/action/linkedin-logo.svg"/>
|
||||
</a>
|
||||
<?php endif;?>
|
||||
|
||||
<?php if(!empty($this->item->social_facebook)):?>
|
||||
<a href="<?php echo $this->item->social_facebook ?>">
|
||||
<!-- <i class="fa fa-facebook"></i>-->
|
||||
<img src="/media/com_quantummanager/images/icons/action/facebook-logo.svg"/>
|
||||
</a>
|
||||
<?php endif;?>
|
||||
|
||||
<?php if(!empty($this->item->social_instagram)):?>
|
||||
<a href="<?php echo $this->item->social_instagram ?>">
|
||||
<!-- <i class="fa fa-facebook"></i>-->
|
||||
<img src="/media/com_quantummanager/images/icons/action/instagram-logo.svg"/>
|
||||
</a>
|
||||
<?php endif;?>
|
||||
|
||||
<?php if(!empty($this->item->social_twitter)):?>
|
||||
<a href="<?php echo $this->item->social_twitter ?>">
|
||||
<!-- <i class="fa fa-facebook"></i>-->
|
||||
<img src="/media/com_quantummanager/images/icons/action/twitter-logo-on-black-background.svg"/>
|
||||
</a>
|
||||
<?php endif;?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user