xref: /webtrees/resources/views/modules/todo/config.phtml (revision 1ff45046fabc22237b5d0d8e489c96f031fc598d)
1<?php
2
3declare(strict_types=1);
4
5use Fisharebest\Webtrees\I18N;
6
7/**
8 * @var string $show_future
9 * @var string $show_other
10 * @var string $show_unassigned
11 */
12
13?>
14
15<p>
16    <?= I18N::translate('Research tasks are special events, added to individuals in your family tree, which identify the need for further research. You can use them as a reminder to check facts against more reliable sources, to obtain documents or photographs, to resolve conflicting information, etc.') ?>
17    <?= I18N::translate('To create new research tasks, you must first add “research task” to the list of facts and events in the family tree’s preferences.') ?>
18    <?= I18N::translate('Research tasks are stored using the custom GEDCOM tag “_TODO”. Other genealogy applications may not recognize this tag.') ?>
19</p>
20
21<div class="row mb-3">
22    <label class="col-sm-3 col-form-label" for="show_other">
23        <?= I18N::translate('Show research tasks that are assigned to other users') ?>
24    </label>
25    <div class="col-sm-9">
26        <?= view('components/radios-inline', ['name' => 'show_other', 'options' => [I18N::translate('no'), I18N::translate('yes')], 'selected' => (int) $show_other]) ?>
27    </div>
28</div>
29
30
31<div class="row mb-3">
32    <label class="col-sm-3 col-form-label" for="show_unassigned">
33        <?= I18N::translate('Show research tasks that are not assigned to any user') ?>
34    </label>
35    <div class="col-sm-9">
36        <?= view('components/radios-inline', ['name' => 'show_unassigned', 'options' => [I18N::translate('no'), I18N::translate('yes')], 'selected' => (int) $show_unassigned]) ?>
37    </div>
38</div>
39
40<div class="row mb-3">
41    <label class="col-sm-3 col-form-label" for="show_future">
42        <?= I18N::translate('Show research tasks that have a date in the future') ?>
43    </label>
44    <div class="col-sm-9">
45        <?= view('components/radios-inline', ['name' => 'show_future', 'options' => [I18N::translate('no'), I18N::translate('yes')], 'selected' => (int) $show_future]) ?>
46    </div>
47</div>
48