summaryrefslogtreecommitdiff
path: root/resources/views
diff options
context:
space:
mode:
authorGreg Roach <fisharebest@webtrees.net>2019-08-12 09:50:37 +0100
committerGreg Roach <fisharebest@webtrees.net>2019-08-12 09:50:37 +0100
commit959eae236e7313d5606e06be42dc8f03f1db7254 (patch)
treece9546b6ddf623f1b015c7e552dcf0c9b19749f6 /resources/views
parent5e30b938dc6cbf69900b31c201a4b50ba5fda6c1 (diff)
downloadwebtrees-959eae236e7313d5606e06be42dc8f03f1db7254.tar.gz
webtrees-959eae236e7313d5606e06be42dc8f03f1db7254.tar.bz2
webtrees-959eae236e7313d5606e06be42dc8f03f1db7254.zip
Fix: #2512 - alignment of numbers numbers in tables should not be mirrored in RTL
Diffstat (limited to 'resources/views')
-rw-r--r--resources/views/admin/control-panel-tree-list.phtml14
-rw-r--r--resources/views/admin/control-panel.phtml28
2 files changed, 21 insertions, 21 deletions
diff --git a/resources/views/admin/control-panel-tree-list.phtml b/resources/views/admin/control-panel-tree-list.phtml
index cfb17e0f0d..53abdc5fac 100644
--- a/resources/views/admin/control-panel-tree-list.phtml
+++ b/resources/views/admin/control-panel-tree-list.phtml
@@ -24,7 +24,7 @@ use Fisharebest\Webtrees\Module\SourceListModule;
<?= view('icons/preferences') ?>
</a>
</td>
- <td class="text-right">
+ <td style="text-align: right;">
<?php if ($changes[$tree->id()]) : ?>
<a href="<?= e(route('show-pending', ['ged' => $tree->name(), 'url' => route('admin-control-panel')])) ?>">
<?= I18N::number($changes[$tree->id()]) ?>
@@ -34,7 +34,7 @@ use Fisharebest\Webtrees\Module\SourceListModule;
-
<?php endif ?>
</td>
- <td class="d-none d-sm-table-cell text-right">
+ <td class="d-none d-sm-table-cell" style="text-align: right;">
<?php if ($individuals[$tree->id()] > 0) : ?>
<?php if ($individual_list_module instanceof IndividualListModule) : ?>
<a href="<?= e($individual_list_module->listUrl($tree)) ?>"><?= I18N::number($individuals[$tree->id()]) ?></a>
@@ -45,7 +45,7 @@ use Fisharebest\Webtrees\Module\SourceListModule;
-
<?php endif ?>
</td>
- <td class="d-none d-lg-table-cell text-right">
+ <td class="d-none d-lg-table-cell" style="text-align: right;">
<?php if ($families[$tree->id()] > 0) : ?>
<?php if ($family_list_module instanceof FamilyListModule) : ?>
<a href="<?= e($family_list_module->listUrl($tree)) ?>"><?= I18N::number($families[$tree->id()]) ?></a>
@@ -56,7 +56,7 @@ use Fisharebest\Webtrees\Module\SourceListModule;
-
<?php endif ?>
</td>
- <td class="d-none d-sm-table-cell text-right">
+ <td class="d-none d-sm-table-cell" style="text-align: right;">
<?php if ($sources[$tree->id()] > 0) : ?>
<?php if ($source_list_module instanceof SourceListModule) : ?>
<a href="<?= e($source_list_module->listUrl($tree)) ?>"><?= I18N::number($sources[$tree->id()]) ?></a>
@@ -67,7 +67,7 @@ use Fisharebest\Webtrees\Module\SourceListModule;
-
<?php endif ?>
</td>
- <td class="d-none d-lg-table-cell text-right">
+ <td class="d-none d-lg-table-cell" style="text-align: right;">
<?php if ($repositories[$tree->id()] > 0) : ?>
<?php if ($repository_list_module instanceof RepositoryListModule) : ?>
<a href="<?= e($repository_list_module->listUrl($tree)) ?>"><?= I18N::number($repositories[$tree->id()]) ?></a>
@@ -78,7 +78,7 @@ use Fisharebest\Webtrees\Module\SourceListModule;
-
<?php endif ?>
</td>
- <td class="d-none d-sm-table-cell text-right">
+ <td class="d-none d-sm-table-cell" style="text-align: right;t">
<?php if ($media[$tree->id()] > 0) : ?>
<?php if ($media_list_module instanceof MediaListModule) : ?>
<a href="<?= e($media_list_module->listUrl($tree)) ?>"><?= I18N::number($media[$tree->id()]) ?></a>
@@ -89,7 +89,7 @@ use Fisharebest\Webtrees\Module\SourceListModule;
-
<?php endif ?>
</td>
- <td class="d-none d-lg-table-cell text-right">
+ <td class="d-none d-lg-table-cell" style="text-align: right;">
<?php if ($notes[$tree->id()] > 0) : ?>
<?php if ($note_list_module instanceof NoteListModule) : ?>
<a href="<?= e($note_list_module->listUrl($tree)) ?>"><?= I18N::number($notes[$tree->id()]) ?></a>
diff --git a/resources/views/admin/control-panel.phtml b/resources/views/admin/control-panel.phtml
index 7d61d85c0a..c680bf8105 100644
--- a/resources/views/admin/control-panel.phtml
+++ b/resources/views/admin/control-panel.phtml
@@ -124,13 +124,13 @@ use Illuminate\Support\Collection;
<th>
<span class="sr-only"><?= I18N::translate('Manage family trees') ?></span>
</th>
- <th class="text-right"><?= I18N::translate('Pending changes') ?></th>
- <th class="d-none d-sm-table-cell text-right"><?= I18N::translate('Individuals') ?></th>
- <th class="d-none d-lg-table-cell text-right"><?= I18N::translate('Families') ?></th>
- <th class="d-none d-sm-table-cell text-right"><?= I18N::translate('Sources') ?></th>
- <th class="d-none d-lg-table-cell text-right"><?= I18N::translate('Repositories') ?></th>
- <th class="d-none d-sm-table-cell text-right"><?= I18N::translate('Media') ?></th>
- <th class="d-none d-lg-table-cell text-right"><?= I18N::translate('Notes') ?></th>
+ <th style="text-align: right;"><?= I18N::translate('Pending changes') ?></th>
+ <th class="d-none d-sm-table-cell"style="text-align: right;"><?= I18N::translate('Individuals') ?></th>
+ <th class="d-none d-lg-table-cell"style="text-align: right;"><?= I18N::translate('Families') ?></th>
+ <th class="d-none d-sm-table-cell"style="text-align: right;"><?= I18N::translate('Sources') ?></th>
+ <th class="d-none d-lg-table-cell"style="text-align: right;"><?= I18N::translate('Repositories') ?></th>
+ <th class="d-none d-sm-table-cell"style="text-align: right;"><?= I18N::translate('Media') ?></th>
+ <th class="d-none d-lg-table-cell"style="text-align: right;"><?= I18N::translate('Notes') ?></th>
</tr>
</thead>
<tbody>
@@ -157,25 +157,25 @@ use Illuminate\Support\Collection;
<?= I18N::translate('Total') ?>
</th>
<td></td>
- <td class="text-right">
+ <td style="text-align: right;">
<?= I18N::number(array_sum($changes)) ?>
</td>
- <td class="d-none d-sm-table-cell text-right">
+ <td class="d-none d-sm-table-cell" style="text-align: right;">
<?= I18N::number($individuals->sum()) ?>
</td>
- <td class="d-none d-lg-table-cell text-right">
+ <td class="d-none d-lg-table-cell" style="text-align: right;">
<?= I18N::number($families->sum()) ?>
</td>
- <td class="d-none d-sm-table-cell text-right">
+ <td class="d-none d-sm-table-cell" style="text-align: right;">
<?= I18N::number($sources->sum()) ?>
</td>
- <td class="d-none d-lg-table-cell text-right">
+ <td class="d-none d-lg-table-cell" style="text-align: right;">
<?= I18N::number($repositories->sum()) ?>
</td>
- <td class="d-none d-sm-table-cell text-right">
+ <td class="d-none d-sm-table-cell" style="text-align: right;">
<?= I18N::number($media->sum()) ?>
</td>
- <td class="d-none d-lg-table-cell text-right">
+ <td class="d-none d-lg-table-cell" style="text-align: right;">
<?= I18N::number($notes->sum()) ?>
</td>
</tr>