VaKeR CYBER ARMY
Logo of a company Server : Apache/2.4.41 (Ubuntu)
System : Linux absol.cf 5.4.0-198-generic #218-Ubuntu SMP Fri Sep 27 20:18:53 UTC 2024 x86_64
User : www-data ( 33)
PHP Version : 7.4.33
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Directory :  /var/www/html/webtrees/resources/views/modules/todo/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /var/www/html/webtrees/resources/views/modules/todo/research-tasks.phtml
<?php

declare(strict_types=1);

use Fisharebest\Webtrees\Fact;
use Fisharebest\Webtrees\I18N;
use Illuminate\Support\Collection;

/**
 * @var int                  $limit_high
 * @var int                  $limit_low
 * @var Collection<int,Fact> $tasks
 */

?>

<table
    class="table table-bordered table-sm wt-table-tasks datatables d-none"
    style="table-layout: fixed"
    <?= view('lists/datatables-attributes') ?>
    data-paging="<?= $tasks->count() >= $limit_high ? 'true' : 'false' ?>"
    data-filter="false"
    data-info="false"
    data-length-change="false"
    data-page-length="<?= e($limit_low) ?>"
>
    <thead>
        <tr>
            <th class="d-none d-md-table-cell wt-side-block-optional">
                <?= I18N::translate('Date') ?>
            </th>
            <th>
                <?= I18N::translate('Record') ?>
            </th>
            <th class="d-none d-md-table-cell wt-side-block-optional">
                <?= I18N::translate('Username') ?>
            </th>
            <th class="w-50">
                <?= I18N::translate('Research task') ?>
            </th>
        </tr>
    </thead>

    <tbody>
        <?php foreach ($tasks as $task) : ?>
            <tr>
                <td data-sort="<?= $task->date()->julianDay() ?>" class="d-none d-md-table-cell wt-side-block-optional">
                    <?= $task->date()->display() ?>
                </td>
                <td data-sort="<?= e($task->record()->sortName()) ?>">
                    <a href="<?= e($task->record()->url()) ?>">
                        <?= $task->record()->fullName() ?>
                    </a>
                </td>
                <td class="d-none d-md-table-cell wt-side-block-optional">
                    <?= e($task->attribute('_WT_USER')) ?>
                </td>
                <td class="ut" dir="auto">
                    <?= e($task->value()) ?>
                </td>
            </tr>
        <?php endforeach ?>
    </tbody>
</table>

VaKeR 2022