summaryrefslogtreecommitdiff
path: root/app/Template
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2015-02-28 18:11:05 -0500
committerFrederic Guillot <fred@kanboard.net>2015-02-28 18:11:05 -0500
commitbb61b409a3577c99ca93c8b2b283437cf2a24040 (patch)
treefb5e453e047d8ba888e74d74fd2d5a2a43fd4ff9 /app/Template
parent7f56c255ca6033e529a8da4a16289aeddf1036aa (diff)
Improve toggle compact/horizontal scrolling view
Diffstat (limited to 'app/Template')
-rw-r--r--app/Template/board/filters.php8
-rw-r--r--app/Template/config/about.php1
2 files changed, 7 insertions, 2 deletions
diff --git a/app/Template/board/filters.php b/app/Template/board/filters.php
index acaba54d..fc5bfc34 100644
--- a/app/Template/board/filters.php
+++ b/app/Template/board/filters.php
@@ -14,8 +14,12 @@
</span>
</li>
<li>
- <i class="fa fa-th"></i>
- <a href="#" class="compactview-toggle"><?= t('Toggle view') ?></a>
+ <span class="filter-compact">
+ <i class="fa fa-th fa-fw"></i> <a href="#" class="filter-toggle-scrolling"><?= t('Compact view') ?></a>
+ </span>
+ <span class="filter-wide" style="display: none">
+ <i class="fa fa-arrows-h fa-fw"></i> <a href="#" class="filter-toggle-scrolling"><?= t('Horizontal scrolling') ?></a>
+ </span>
</li>
<li>
<i class="fa fa-search fa-fw"></i>
diff --git a/app/Template/config/about.php b/app/Template/config/about.php
index f6474e21..b6ed43e5 100644
--- a/app/Template/config/about.php
+++ b/app/Template/config/about.php
@@ -46,6 +46,7 @@
<ul>
<li><?= t('New task') ?> = <strong>n</strong></li>
<li><?= t('Expand/collapse tasks') ?> = <strong>s</strong></li>
+ <li><?= t('Compact/wide view') ?> = <strong>c</strong></li>
</ul>
<h3><?= t('Application') ?></h3>
<ul>