Skip to content

Commit

Permalink
FIX: Inline Alignment
Browse files Browse the repository at this point in the history
  • Loading branch information
aljawaid committed Jan 29, 2023
1 parent d22b4ff commit d6fb03f
Showing 1 changed file with 18 additions and 19 deletions.
37 changes: 18 additions & 19 deletions Template/notification/footer.php
Original file line number Diff line number Diff line change
@@ -1,26 +1,25 @@
<hr/>
<?php if (file_exists('plugins/ApplicationBranding')): ?>
<span class="">&copy;&nbsp;
<?php if (!empty($this->task->configModel->get('app_rename'))): ?>
<?= $this->task->configModel->get('app_rename') ?>
<span class="" style="display: inline;">&copy;&nbsp;
<?php if (file_exists('plugins/ApplicationBranding')): ?>
<?php if (!empty($this->task->configModel->get('app_rename'))): ?>
<?= $this->task->configModel->get('app_rename') ?>
<?php else: ?>
<?= t('My Workspace') ?>
<?php endif ?>
<?php if (!empty($this->task->configModel->get('copyright_from'))): ?>
<?= $this->task->configModel->get('copyright_from') ?>-<?= date("Y"); ?>
<?php else: ?>
<?= date("Y"); ?>
<?php endif ?>
<?php else: ?>
<?= t('My Workspace') ?>
<?= t('System Generated Email') ?>&nbsp;
<?php endif ?>
<?php if (!empty($this->task->configModel->get('copyright_from'))): ?>
<?= $this->task->configModel->get('copyright_from') ?>-<?= date("Y"); ?>
<?php else: ?>
<?= date("Y"); ?>
<?php if ($this->app->config('application_url') != ''): ?>
<?php if (isset($task['id'])): ?>
- <?= $this->url->absoluteLink(t('View Task'), 'TaskViewController', 'show', array('task_id' => $task['id'], 'project_id' => $task['project_id'])) ?>
<?php endif ?>
- <?= $this->url->absoluteLink(t('View Board'), 'BoardViewController', 'show', array('project_id' => $task['project_id'])) ?>
<?php endif ?>
</span>
<?php else: ?>
<?= t('System Generated Email') ?>&nbsp;
<?php endif ?>

<?php if ($this->app->config('application_url') != ''): ?>
<?php if (isset($task['id'])): ?>
- <?= $this->url->absoluteLink(t('View Task'), 'TaskViewController', 'show', array('task_id' => $task['id'], 'project_id' => $task['project_id'])) ?>
<?php endif ?>
- <?= $this->url->absoluteLink(t('View Board'), 'BoardViewController', 'show', array('project_id' => $task['project_id'])) ?>
<?php endif ?>
</body>
</html>

0 comments on commit d6fb03f

Please sign in to comment.