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