Replace message when no project notifications are registered

This commit is contained in:
Frederic Guillot
2016-01-23 18:07:28 -05:00
parent cfec551968
commit 6002efb8a0
24 changed files with 77 additions and 31 deletions

View File

@@ -2,7 +2,7 @@
<h2><?= t('Notifications') ?></h2>
</div>
<?php if (empty($types)): ?>
<p class="alert"><?= t('There is no notification method registered.') ?></p>
<p class="alert"><?= t('No plugin has registered a project notification method. You can still configure individual notifications in your user profile.') ?></p>
<?php else: ?>
<form method="post" action="<?= $this->url->href('project', 'notifications', array('project_id' => $project['id'])) ?>" autocomplete="off">