diff options
author | Frederic Guillot <fred@kanboard.net> | 2017-03-11 15:24:34 -0500 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2017-03-11 15:24:34 -0500 |
commit | a22b8f3dc73555800caf55768f04a7a2ce4af7f2 (patch) | |
tree | 60257cb9b508da83be5a9477c434fb53cc3c6f6d /app/Template/user_view/share.php | |
parent | 469112918d0cfa6a43a7fdb829cd19bdf85cfcbe (diff) |
Make user actions available from contextual menu
Diffstat (limited to 'app/Template/user_view/share.php')
-rw-r--r-- | app/Template/user_view/share.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/Template/user_view/share.php b/app/Template/user_view/share.php index 318d98ea..784e0ebd 100644 --- a/app/Template/user_view/share.php +++ b/app/Template/user_view/share.php @@ -9,7 +9,7 @@ <li><strong><?= $this->url->icon('calendar', t('iCal feed'), 'ICalendarController', 'user', array('token' => $user['token']), false, '', '', true) ?></strong></li> </ul> </div> - <?= $this->url->link(t('Disable public access'), 'UserViewController', 'share', array('user_id' => $user['id'], 'switch' => 'disable'), true, 'btn btn-red') ?> + <?= $this->url->link(t('Disable public access'), 'UserViewController', 'share', array('user_id' => $user['id'], 'switch' => 'disable'), true, 'btn btn-red js-modal-replace') ?> <?php else: ?> - <?= $this->url->link(t('Enable public access'), 'UserViewController', 'share', array('user_id' => $user['id'], 'switch' => 'enable'), true, 'btn btn-blue') ?> + <?= $this->url->link(t('Enable public access'), 'UserViewController', 'share', array('user_id' => $user['id'], 'switch' => 'enable'), true, 'btn btn-blue js-modal-replace') ?> <?php endif ?> |