summaryrefslogtreecommitdiff
path: root/plugins/kolab_notes/kolab_notes_ui.php
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/kolab_notes/kolab_notes_ui.php')
-rw-r--r--plugins/kolab_notes/kolab_notes_ui.php12
1 files changed, 9 insertions, 3 deletions
diff --git a/plugins/kolab_notes/kolab_notes_ui.php b/plugins/kolab_notes/kolab_notes_ui.php
index 527e89b..817a228 100644
--- a/plugins/kolab_notes/kolab_notes_ui.php
+++ b/plugins/kolab_notes/kolab_notes_ui.php
@@ -217,9 +217,15 @@ class kolab_notes_ui
''
) .
html::span('handle', '') .
- (isset($prop['subscribed']) ?
- html::a(array('href' => '#', 'class' => 'subscribed', 'title' => $this->plugin->gettext('foldersubscribe'), 'role' => 'checkbox', 'aria-checked' => $prop['subscribed'] ? 'true' : 'false'), ' ') :
- ''
+ html::span('actions',
+ (!$prop['default'] ?
+ html::a(array('href' => '#', 'class' => 'remove', 'title' => $this->plugin->gettext('removelist')), ' ') :
+ ''
+ ) .
+ (isset($prop['subscribed']) ?
+ html::a(array('href' => '#', 'class' => 'subscribed', 'title' => $this->plugin->gettext('foldersubscribe'), 'role' => 'checkbox', 'aria-checked' => $prop['subscribed'] ? 'true' : 'false'), ' ') :
+ ''
+ )
)
)
);