bug fixes

This commit is contained in:
Dennis Eichhorn 2024-05-12 00:06:28 +00:00
parent 64f3270b90
commit 42b9363126
3 changed files with 14 additions and 14 deletions

View File

@ -9,5 +9,5 @@ jobs:
- uses: actions/first-interaction@v1
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
issue-message: 'Thank you for createing this issue. We will check it as soon as possible.'
issue-message: 'Thank you for creating this issue. We will check it as soon as possible.'
pr-message: 'Thank you for your pull request. We will check it as soon as possible.'

View File

@ -18,7 +18,7 @@ $notifications = $this->data['notifications'] ?? [];
?>
<div id="notification-dashboard" class="col-xs-12 col-md-6" draggable="true">
<div class="portlet">
<section class="portlet">
<div class="portlet-head"><?= $this->getHtml('Notifications', 'Notification'); ?></div>
<div class="slider">
<table class="default sticky">
@ -51,5 +51,5 @@ $notifications = $this->data['notifications'] ?? [];
</form>
</span>
</div>
</div>
</section>
</div>

View File

@ -20,15 +20,15 @@ $notifications = $this->data['notifications'] ?? [];
?>
<div class="row">
<div class="col-xs-12">
<div class="portlet">
<div class="portlet-head">
<?= $this->getHtml('Notifications', 'Notification'); ?>
<span class="end-xs">
<form id="iNotificationRead" action="<?= \phpOMS\Uri\UriFactory::build('{/api}notification/seen?{?}&csrf={$CSRF}'); ?>" method="POST">
<input type="submit" class="end-xs save" value="<?= $this->getHtml('MarkSeen', 'Notification'); ?>">
</form>
</span>
</div>
<section class="portlet">
<div class="portlet-head">
<?= $this->getHtml('Notifications', 'Notification'); ?>
<span class="end-xs">
<form id="iNotificationRead" action="<?= \phpOMS\Uri\UriFactory::build('{/api}notification/seen?{?}&csrf={$CSRF}'); ?>" method="POST">
<input type="submit" class="end-xs save" value="<?= $this->getHtml('MarkSeen', 'Notification'); ?>">
</form>
</span>
</div>
<div class="slider">
<table id="notificationList" class="default sticky">
<thead>
@ -50,8 +50,8 @@ $notifications = $this->data['notifications'] ?? [];
<?php if ($c === 0) : ?>
<tr><td colspan="3" class="empty"><?= $this->getHtml('Empty', '0', '0'); ?>
<?php endif; ?>
</table>
</table>
</div>
</div>
</section>
</div>
</div>