diff options
Diffstat (limited to 'plugins/Boardcustomizer/Template/layout')
-rw-r--r-- | plugins/Boardcustomizer/Template/layout/head.php | 22 |
1 files changed, 21 insertions, 1 deletions
diff --git a/plugins/Boardcustomizer/Template/layout/head.php b/plugins/Boardcustomizer/Template/layout/head.php index fca861f9..1a352407 100644 --- a/plugins/Boardcustomizer/Template/layout/head.php +++ b/plugins/Boardcustomizer/Template/layout/head.php @@ -141,6 +141,26 @@ if ($this->user->userMetadataModel->exists($this->user->getid(), "boardcustomize </style>
<?php
}
+if ($this->user->userMetadataModel->exists($this->user->getid(), "boardcustomizer_hidelinks")) {
+ /* hide linked tasks */
+ ?>
+ <style>
+ .task-board-icons-row span.tooltip[data-href*="tasklinks"] {
+ display: none;
+ }
+ </style>
+<?php
+}
+if ($this->user->userMetadataModel->exists($this->user->getid(), "boardcustomizer_hidedescription")) {
+ /* hide description icon */
+ ?>
+ <style>
+ .task-board-icons-row span.tooltip[data-href*="action=description"] {
+ display: none;
+ }
+ </style>
+<?php
+}
if ($this->user->userMetadataModel->exists($this->user->getid(), "boardcustomizer_hidescore")) {
/* hide score */
?>
@@ -170,4 +190,4 @@ if ($this->user->userMetadataModel->exists($this->user->getid(), "boardcustomize }
</style>
<?php
-}
\ No newline at end of file +}
|