xref: /webtrees/resources/views/modules/todo/config.phtml (revision 10e0649788c8d7d4974d81c048ca2b225df8f22e)
1d70512abSGreg Roach<?php
2d70512abSGreg Roach
3*10e06497SGreg Roachdeclare(strict_types=1);
4*10e06497SGreg Roach
5d70512abSGreg Roachuse Fisharebest\Webtrees\I18N;
6d70512abSGreg Roach
77c2c99faSGreg Roach/**
87c2c99faSGreg Roach * @var string $show_future
97c2c99faSGreg Roach * @var string $show_other
107c2c99faSGreg Roach * @var string $show_unassigned
117c2c99faSGreg Roach */
127c2c99faSGreg Roach
13d70512abSGreg Roach?>
14dd6b2bfcSGreg Roach
15dd6b2bfcSGreg Roach<p>
16dd6b2bfcSGreg Roach    <?= 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.') ?>
17dd6b2bfcSGreg Roach    <?= 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.') ?>
18dd6b2bfcSGreg Roach    <?= I18N::translate('Research tasks are stored using the custom GEDCOM tag “_TODO”. Other genealogy applications may not recognize this tag.') ?>
19dd6b2bfcSGreg Roach</p>
20dd6b2bfcSGreg Roach
219e3c2cf9SGreg Roach<div class="row mb-3">
22dd6b2bfcSGreg Roach    <label class="col-sm-3 col-form-label" for="show_other">
23dd6b2bfcSGreg Roach        <?= I18N::translate('Show research tasks that are assigned to other users') ?>
24dd6b2bfcSGreg Roach    </label>
25dd6b2bfcSGreg Roach    <div class="col-sm-9">
26b6c326d8SGreg Roach        <?= view('components/radios-inline', ['name' => 'show_other', 'options' => [I18N::translate('no'), I18N::translate('yes')], 'selected' => (int) $show_other]) ?>
27dd6b2bfcSGreg Roach    </div>
28dd6b2bfcSGreg Roach</div>
29dd6b2bfcSGreg Roach
30dd6b2bfcSGreg Roach
319e3c2cf9SGreg Roach<div class="row mb-3">
32dd6b2bfcSGreg Roach    <label class="col-sm-3 col-form-label" for="show_unassigned">
33dd6b2bfcSGreg Roach        <?= I18N::translate('Show research tasks that are not assigned to any user') ?>
34dd6b2bfcSGreg Roach    </label>
35dd6b2bfcSGreg Roach    <div class="col-sm-9">
36b6b9dcc9SGreg Roach        <?= view('components/radios-inline', ['name' => 'show_unassigned', 'options' => [I18N::translate('no'), I18N::translate('yes')], 'selected' => (int) $show_unassigned]) ?>
37dd6b2bfcSGreg Roach    </div>
38dd6b2bfcSGreg Roach</div>
39dd6b2bfcSGreg Roach
409e3c2cf9SGreg Roach<div class="row mb-3">
41dd6b2bfcSGreg Roach    <label class="col-sm-3 col-form-label" for="show_future">
42dd6b2bfcSGreg Roach        <?= I18N::translate('Show research tasks that have a date in the future') ?>
43dd6b2bfcSGreg Roach    </label>
44dd6b2bfcSGreg Roach    <div class="col-sm-9">
45b6c326d8SGreg Roach        <?= view('components/radios-inline', ['name' => 'show_future', 'options' => [I18N::translate('no'), I18N::translate('yes')], 'selected' => (int) $show_future]) ?>
46dd6b2bfcSGreg Roach    </div>
47dd6b2bfcSGreg Roach</div>
48