Skip to content

Commit

Permalink
Merge pull request #21 from HerzScheisse/main
Browse files Browse the repository at this point in the history
option to show edits in places
  • Loading branch information
06Games authored Apr 3, 2024
2 parents 15e5a0e + be15081 commit b914e67
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
6 changes: 4 additions & 2 deletions Settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
use Fisharebest\Webtrees\Gedcom;
use Fisharebest\Webtrees\I18N;
use Fisharebest\Webtrees\Individual;
use Fisharebest\Webtrees\Location;
use Fisharebest\Webtrees\Media;
use Fisharebest\Webtrees\Note;
use Fisharebest\Webtrees\Registry;
Expand Down Expand Up @@ -148,7 +149,8 @@ public function getAllChangelistTags(): array
Note::RECORD_TYPE => I18N::translate("Note"),
Source::RECORD_TYPE => I18N::translate("Source"),
Submitter::RECORD_TYPE => I18N::translate("Submitter"),
Repository::RECORD_TYPE => I18N::translate("Repository")];
Repository::RECORD_TYPE => I18N::translate("Repository"),
Location::RECORD_TYPE => I18N::translate('Location')];
}

public function getChangelistTags(): array
Expand Down Expand Up @@ -274,4 +276,4 @@ public function getFooterMessage(): string
public function setFooterMessage($value) { Site::setPreference('EVANG_MAILSYSTEM_FOOTER_MESSAGE', $value); }

#endregion
}
}
6 changes: 4 additions & 2 deletions resources/views/email.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,9 @@ use Fisharebest\Localization\Translator;
use Fisharebest\Webtrees\Date\GregorianDate;
use Fisharebest\Webtrees\Module\ModuleThemeInterface;

use Fisharebest\Webtrees\Individual;
use Fisharebest\Webtrees\Family;
use Fisharebest\Webtrees\Individual;
use Fisharebest\Webtrees\Location;
use Fisharebest\Webtrees\Media;
use Fisharebest\Webtrees\Note;
use Fisharebest\Webtrees\Registry;
Expand Down Expand Up @@ -221,7 +222,8 @@ $getIcon = function ($name, $height = 16) use ($translator, $module, $args) {
else if ($tag === Note::RECORD_TYPE) $getIcon('note');
else if ($tag === Source::RECORD_TYPE) $getIcon('source');
else if ($tag === Submitter::RECORD_TYPE) $getIcon('submitter');
else if ($tag === Repository::RECORD_TYPE) { $getIcon('repository'); }
else if ($tag === Repository::RECORD_TYPE) $getIcon('repository');
else if ($tag === Location::RECORD_TYPE) $getIcon('location');
?>
</span>
<a class="record" href="<?= e($record["url"]) ?>"><?= $record["fullName"] ?></a>
Expand Down

0 comments on commit b914e67

Please sign in to comment.