PHP Classes

File: Template/project_gantt/show.php

Recommend this page to a friend!
  Classes of kiran  >  Kanboard Gantt plugin  >  Template/project_gantt/show.php  >  Download  
File: Template/project_gantt/show.php
Role: Example script
Content type: text/plain
Description: Example script
Class: Kanboard Gantt plugin
Display Gantt charts in Kanboard
Author: By
Last change:
Date: 1 year ago
Size: 2,029 bytes


Class file image Download
<section id="main">
    <div class="page-header">
            <?php if ($this->user->hasAccess('ProjectCreationController', 'create')): ?>
                    <?= $this->modal->medium('plus', t('New project'), 'ProjectCreationController', 'create') ?>
            <?php endif ?>
<?php if ($this->app->config('disable_private_project', 0) == 0): ?>
                    <?= $this->modal->medium('lock', t('New private project'), 'ProjectCreationController', 'createPrivate') ?>
            <?php endif ?>
                <?= $this->url->icon('folder', t('Projects list'), 'ProjectListController', 'show') ?>
            <?php if ($this->user->hasAccess('ProjectUserOverviewController', 'managers')): ?>
                    <?= $this->url->icon('user', t('Users overview'), 'ProjectUserOverviewController', 'managers') ?>
            <?php endif ?>
        <?php if (empty($projects)): ?>
<p class="alert"><?= t('No project') ?></p>
        <?php else: ?>
                data-records='<?= json_encode($projects, JSON_HEX_APOS) ?>'
                data-save-url="<?= $this->url->href('ProjectGanttController', 'save', array('plugin' => 'Gantt')) ?>"
                data-label-project-manager="<?= t('Project managers') ?>"
                data-label-project-member="<?= t('Project members') ?>"
                data-label-gantt-link="<?= t('Gantt chart for this project') ?>"
                data-label-board-link="<?= t('Project board') ?>"
                data-label-start-date="<?= t('Start date:') ?>"
                data-label-end-date="<?= t('End date:') ?>"
                data-label-not-defined="<?= t('There is no start date or end date for this project.') ?>"
        <?php endif ?>

For more information send a message to info at phpclasses dot org.