diff options
author | Stas Vilchik <vilchiks@gmail.com> | 2015-02-04 15:45:00 +0100 |
---|---|---|
committer | Stas Vilchik <vilchiks@gmail.com> | 2015-02-04 15:48:53 +0100 |
commit | c2e6ca69eceda7ce764afced77d4ce17a9b279ca (patch) | |
tree | 3ca566c91ce8abcffc8e75cb99ec93d9578b116a /server/sonar-web/src/main/hbs/design/design.hbs | |
parent | 9482c208d39a6d5c0a0e07e050bbb8fd1a5a950d (diff) | |
download | sonarqube-c2e6ca69eceda7ce764afced77d4ce17a9b279ca.tar.gz sonarqube-c2e6ca69eceda7ce764afced77d4ce17a9b279ca.zip |
SONAR-5789 apply feedback
Diffstat (limited to 'server/sonar-web/src/main/hbs/design/design.hbs')
-rw-r--r-- | server/sonar-web/src/main/hbs/design/design.hbs | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/server/sonar-web/src/main/hbs/design/design.hbs b/server/sonar-web/src/main/hbs/design/design.hbs index 21d059293de..4c0be31f83e 100644 --- a/server/sonar-web/src/main/hbs/design/design.hbs +++ b/server/sonar-web/src/main/hbs/design/design.hbs @@ -21,10 +21,12 @@ <span class="dsm-legend-label">{{t 'design.legend.uses'}}</span> <span class="dsm-legend-square yellow"></span> </li> - <li> - <input class="js-hide-dir" type="checkbox" id="design-hide-empty-dir" checked> - <label for="design-hide-empty-dir">{{t 'design.hide_empty_directories'}}</label> - </li> + {{#if hasDirectories}} + <li> + <input class="js-hide-dir" type="checkbox" id="design-hide-empty-dir" checked> + <label for="design-hide-empty-dir">{{t 'design.hide_empty_directories'}}</label> + </li> + {{/if}} </ul> <div class="dsm-body"> |