This commit is contained in:
Dennis Eichhorn 2015-12-18 17:43:42 +01:00
parent b9678adddc
commit c85f6582c2
3 changed files with 88 additions and 0 deletions

View File

@ -0,0 +1,48 @@
<?php
/**
* Orange Management
*
* PHP Version 7.0
*
* @category TBD
* @package TBD
* @author OMS Development Team <dev@oms.com>
* @author Dennis Eichhorn <d.eichhorn@oms.com>
* @copyright 2013 Dennis Eichhorn
* @license OMS License 1.0
* @version 1.0.0
* @link http://orange-management.com
*/
$footerView = new \Web\Views\Lists\PaginationView($this->app, $this->request, $this->response);
$footerView->setTemplate('/Web/Templates/Lists/Footer/PaginationBig');
$footerView->setPages(20);
$footerView->setPage(1);
echo $this->getData('nav')->render(); ?>
<section class="box w-100">
<table class="table">
<caption><?= $this->l11n->lang['Marketing']['Events'] ?></caption>
<thead>
<tr>
<td><?= $this->l11n->lang['Marketing']['Status']; ?>
<td><?= $this->l11n->lang['Marketing']['Type']; ?>
<td class="wf-100"><?= $this->l11n->lang['Marketing']['Title']; ?>
<td><?= $this->l11n->lang['Marketing']['Start']; ?>
<td><?= $this->l11n->lang['Marketing']['End']; ?>
<td><?= $this->l11n->lang['Marketing']['Location']; ?>
<td><?= $this->l11n->lang['Marketing']['Expenses']; ?>
<td><?= $this->l11n->lang['Marketing']['Sales']; ?>
<td><?= $this->l11n->lang['Marketing']['Budget']; ?>
<tfoot>
<tr>
<td colspan="9"><?= $footerView->render(); ?>
<tbody>
<?php $count = 0; foreach([] as $key => $value) : $count++; ?>
<?php endforeach; ?>
<?php if($count === 0) : ?>
<tr><td colspan="9" class="empty"><?= $this->l11n->lang[0]['Empty']; ?>
<?php endif; ?>
</table>
</section>

View File

@ -13,4 +13,34 @@
* @version 1.0.0
* @link http://orange-management.com
*/
$footerView = new \Web\Views\Lists\PaginationView($this->app, $this->request, $this->response);
$footerView->setTemplate('/Web/Templates/Lists/Footer/PaginationBig');
$footerView->setPages(20);
$footerView->setPage(1);
echo $this->getData('nav')->render(); ?>
<section class="box w-100">
<table class="table">
<caption><?= $this->l11n->lang['Marketing']['Events'] ?></caption>
<thead>
<tr>
<td><?= $this->l11n->lang['Marketing']['Status']; ?>
<td class="wf-100"><?= $this->l11n->lang['Marketing']['Title']; ?>
<td><?= $this->l11n->lang['Marketing']['Start']; ?>
<td><?= $this->l11n->lang['Marketing']['End']; ?>
<td><?= $this->l11n->lang['Marketing']['Expenses']; ?>
<td><?= $this->l11n->lang['Marketing']['Sales']; ?>
<td><?= $this->l11n->lang['Marketing']['Budget']; ?>
<tfoot>
<tr>
<td colspan="7"><?= $footerView->render(); ?>
<tbody>
<?php $count = 0; foreach([] as $key => $value) : $count++; ?>
<?php endforeach; ?>
<?php if($count === 0) : ?>
<tr><td colspan="7" class="empty"><?= $this->l11n->lang[0]['Empty']; ?>
<?php endif; ?>
</table>
</section>

View File

@ -14,4 +14,14 @@
* @link http://orange-management.com
*/
$MODLANG['Marketing'] = [
'Budget' => 'Budget',
'Expenses' => 'Expenses',
'End' => 'End',
'Events' => 'Events',
'Location' => 'Location',
'Sales' => 'Sales',
'Start' => 'Start',
'Status' => 'Status',
'Title' => 'Title',
'Type' => 'Type',
];