summaryrefslogtreecommitdiff
path: root/plugins/Boardcustomizer/Template/layout/head.php
diff options
context:
space:
mode:
authorDzial Techniczny WMW Projekt s.c <techniczna@wmwprojekt.pl>2019-12-10 16:31:45 +0100
committerDzial Techniczny WMW Projekt s.c <techniczna@wmwprojekt.pl>2019-12-10 16:31:45 +0100
commitf5ff8e388e92f2b834adfcefca2744b9808b4eac (patch)
treef79be3775ea079e70b887da67479d2ad607a94e4 /plugins/Boardcustomizer/Template/layout/head.php
parentf67ce1c32e8d4f3c9d2abc35dacea69ed35be16d (diff)
Extending Boardcustomizer with additional options and Polish locale
Diffstat (limited to 'plugins/Boardcustomizer/Template/layout/head.php')
-rw-r--r--plugins/Boardcustomizer/Template/layout/head.php22
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
+}