summaryrefslogtreecommitdiff
path: root/resources/views/places-page.phtml
diff options
context:
space:
mode:
authorDavid Drury <ddrury@users.noreply.github.com>2019-12-01 09:21:20 +0000
committerGreg Roach <fisharebest@webtrees.net>2019-12-02 20:48:03 +0000
commit57862dd5eb359ece84e541d61e1721141f63c295 (patch)
tree3508368a0522d84a6f83eda790734356e58642e2 /resources/views/places-page.phtml
parentff995987d4f49998b73210a12a1cd47e39ef63a0 (diff)
downloadwebtrees-57862dd5eb359ece84e541d61e1721141f63c295.tar.gz
webtrees-57862dd5eb359ece84e541d61e1721141f63c295.tar.bz2
webtrees-57862dd5eb359ece84e541d61e1721141f63c295.zip
A few bits missing from recent commit, renamed views to be more meaningful; Add lat & long to place hierarchy popup
Diffstat (limited to 'resources/views/places-page.phtml')
-rw-r--r--resources/views/places-page.phtml46
1 files changed, 0 insertions, 46 deletions
diff --git a/resources/views/places-page.phtml b/resources/views/places-page.phtml
deleted file mode 100644
index 087899f128..0000000000
--- a/resources/views/places-page.phtml
+++ /dev/null
@@ -1,46 +0,0 @@
-<?php
-
-use Fisharebest\Webtrees\I18N; ?>
-
-<div id="place-hierarchy">
- <div class="container">
- <h4><?= $title ?></h4>
- <h5 class="text-center">
- <?php if ($current) : ?>
- <a href="<?= e(route('module', ['module' => $module, 'action' => $action, 'tree' => $tree->name()])) ?>">
- <?= I18N::translate('World') ?>
- </a>
- <?php else : ?>
- <?= I18N::translate('World') ?>
- <?php endif ?>
-
- <?php foreach ($breadcrumbs as $item) : ?>
- -
- <a href="<?= e($item->url()) ?>" dir="auto"><?= $item->placeName() ?></a>
- <?php endforeach ?>
-
- <?php if ($current) : ?>
- - <?= $current->placeName() ?>
- <?php endif ?>
- </h5>
- <?php if ($note) : ?>
- <div class="text-center small text-muted">
- <?= I18N::translate('Places without valid co-ordinates are not shown on the map and have a red border around the sidebar entry') ?>
- </div>
- <?php endif ?>
- <?= $content ?>
- <div class="text-center">
- <?php if ($showeventslink) : ?>
- <a class="formField" href= <?= e(route('module', ['module' => $module, 'action' => $action, 'tree' => $tree->name(), 'parent' => $parent, 'action2' => 'hierarchy-e'])) ?>>
- <?= I18N::translate('View table of events occurring in %s', $place) ?>
- </a>
- |
- <?php endif ?>
-
- <a href="<?= e(route('module', ['module' => $module, 'action' => $action, 'tree' => $tree->name(), 'action2' => key($nextaction)])) ?>">
- <?= current($nextaction) ?>
- </a>
- </div>
- </div>
-</div>
-