Merge pull request #1104 from theseyi/multi-tagging-updates

adds tooltips to expand/collapse chevrons
This commit is contained in:
Seyi Adebajo 2018-04-18 16:18:19 -07:00 committed by GitHub
commit 1b3b87e390
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -222,11 +222,12 @@
<button
class="nacho-button nacho-button--tertiary dataset-compliance-fields__rollup-toggle"
onclick={{action row.onToggleRowExpansion}}>
{{tooltip-on-element text=(if row.isRowExpanded "Collapse field" "Expand field")}}
{{#if row.isRowExpanded}}
<i class="glyphicon glyphicon-menu-up" aria-label="Expand field row"></i>
<i class="glyphicon glyphicon-menu-up" aria-label="Expand field"></i>
{{else}}
<i class="glyphicon glyphicon-menu-down" aria-label="Collapse field row"></i>
<i class="glyphicon glyphicon-menu-down" aria-label="Collapse field"></i>
{{/if}}
</button>