Home
last modified time | relevance | path

Searched refs:canEdit (Results 1 – 25 of 29) sorted by relevance

12

/webtrees/app/
H A DAuth.php232 if ($edit && $family->canEdit()) {
261 if ($edit && $header->canEdit()) {
291 if ($edit && $individual->canEdit()) {
324 if ($edit && $location->canEdit()) {
353 if ($edit && $media->canEdit()) {
382 if ($edit && $note->canEdit()) {
411 if ($edit && $shared_note->canEdit()) {
440 if ($edit && $record->canEdit()) {
469 if ($edit && $repository->canEdit()) {
498 if ($edit && $source->canEdit()) {
[all …]
/webtrees/resources/views/
H A Dfamily-page-grandparents.phtml34 <?php if ($individual->canEdit()) : ?>
42 <?php if ($parent_family->canEdit()) : ?>
64 <?php if ($individual->canEdit()) : ?>
72 <?php if ($parent_family->canEdit()) : ?>
H A Dfamily-page.phtml25 <?php if ($record->canEdit()) : ?>
50 <?php if ($record->canEdit()) : ?>
H A Dfamily-page-parents.phtml27 <?php if ($family->canEdit()) : ?>
49 <?php if ($family->canEdit()) : ?>
H A Dfact-edit-links.phtml13 <?php if ($fact->canEdit()) : ?>
H A Dmedia-page.phtml34 <?php if ($record->canEdit()) : ?>
H A Dnote-page.phtml38 <?php if ($record->canEdit()) : ?>
H A Dindividual-page-sex.phtml39 <?php if ($fact->canEdit()) : ?>
H A Dindividual-page.phtml36 <?php if ($record->canEdit()) : ?>
H A Drecord-page.phtml40 <?php if ($record->canEdit()) : ?>
H A Dfamily-page-children.phtml40 <?php if ($family->canEdit()) : ?>
H A Dindividual-page-name.phtml77 <?php if ($fact->canEdit()) : ?>
H A Dmedia-page-details.phtml28 <?php if ($record->canEdit() && !$media_file->isPendingDeletion()) : ?>
H A Dindividual-page-menu.phtml70 <?php if ($fact->canEdit()) : ?>
/webtrees/resources/views/modules/relatives/
H A Dfamily.phtml58 if (!$found && $family->canEdit()) {
96 if (!$found && $family->canEdit()) { ?>
141 if (!$found && $family->canShow() && $family->canEdit()) {
213 <?php if ($family->canEdit()) : ?>
/webtrees/app/Module/
H A DRelativesTabModule.php79 'can_edit' => $individual->canEdit(),
97 …return $individual->canEdit() || $individual->facts(['FAMC', 'FAMS'], false, null, true)->isNotEmp…
H A DNotesTabModule.php86 return $individual->canEdit() || $this->getFactsWithNotes($individual)->isNotEmpty();
112 'can_edit' => $individual->canEdit(),
H A DSourcesTabModule.php84 return $individual->canEdit() || $this->getFactsWithSources($individual)->isNotEmpty();
110 'can_edit' => $individual->canEdit(),
H A DMediaTabModule.php85 return $individual->canEdit() || $this->getFactsWithMedia($individual)->isNotEmpty();
111 'can_edit' => $individual->canEdit(),
/webtrees/app/Http/RequestHandlers/
H A DEditFactAction.php88 if ($individual instanceof Individual && $individual->canEdit()) {
102 if ($fact->id() === $fact_id && $fact->canEdit()) {
H A DDeleteFact.php52 if ($fact->id() === $fact_id && $fact->canEdit()) {
H A DEditRawFactAction.php58 if ($fact->id() === $fact_id && $fact->canEdit()) {
H A DEditFactPage.php67 …t = $record->facts()->first(fn (Fact $fact): bool => $fact->id() === $fact_id && $fact->canEdit());
H A DDeleteRecord.php70 if (Auth::isEditor($record->tree()) && $record->canShow() && $record->canEdit()) {
/webtrees/resources/views/modules/personal_facts/
H A Dtab.phtml66 <?php if ($individual->canEdit()) : ?>

12