Skip to content

Commit

Permalink
Merge pull request #1026 from julien/issue_1025
Browse files Browse the repository at this point in the history
Updates management toolbar labels
  • Loading branch information
jbalsas authored Jun 19, 2018
2 parents 5a88539 + 5eaa2e5 commit e1fee23
Show file tree
Hide file tree
Showing 5 changed files with 33 additions and 33 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ exports[`ClayDatasetDisplay should render a ClayDatasetDisplay and change view o
<label>
<input class="custom-control-input" ref="input" type="checkbox">
<span class="custom-control-label">
<span class="custom-control-label-text sr-only">select-page</span>
<span class="custom-control-label-text sr-only">select-items</span>
</span>
</label>
</div>
Expand Down Expand Up @@ -742,7 +742,7 @@ exports[`ClayDatasetDisplay should render a ClayDatasetDisplay and change view o
<label>
<input class="custom-control-input" ref="input" type="checkbox">
<span class="custom-control-label">
<span class="custom-control-label-text sr-only">select-page</span>
<span class="custom-control-label-text sr-only">select-items</span>
</span>
</label>
</div>
Expand Down Expand Up @@ -1473,7 +1473,7 @@ exports[`ClayDatasetDisplay should render a ClayDatasetDisplay and change view o
<label>
<input class="custom-control-input" ref="input" type="checkbox">
<span class="custom-control-label">
<span class="custom-control-label-text sr-only">select-page</span>
<span class="custom-control-label-text sr-only">select-items</span>
</span>
</label>
</div>
Expand Down Expand Up @@ -2206,7 +2206,7 @@ exports[`ClayDatasetDisplay should render a ClayDatasetDisplay with grouped item
<label>
<input checked="" class="custom-control-input" ref="input" type="checkbox">
<span class="custom-control-label">
<span class="custom-control-label-text sr-only">select-page</span>
<span class="custom-control-label-text sr-only">select-items</span>
</span>
</label>
</div>
Expand Down Expand Up @@ -2379,7 +2379,7 @@ exports[`ClayDatasetDisplay should render a ClayDatasetDisplay with grouped item
<label>
<input class="custom-control-input" ref="input" type="checkbox">
<span class="custom-control-label">
<span class="custom-control-label-text sr-only">select-page</span>
<span class="custom-control-label-text sr-only">select-items</span>
</span>
</label>
</div>
Expand Down Expand Up @@ -2767,7 +2767,7 @@ exports[`ClayDatasetDisplay should render a ClayDatasetDisplay with items and de
<label>
<input checked="" class="custom-control-input" ref="input" type="checkbox">
<span class="custom-control-label">
<span class="custom-control-label-text sr-only">select-page</span>
<span class="custom-control-label-text sr-only">select-items</span>
</span>
</label>
</div>
Expand Down Expand Up @@ -2937,7 +2937,7 @@ exports[`ClayDatasetDisplay should render a ClayDatasetDisplay with items and li
<label>
<input class="custom-control-input" ref="input" type="checkbox">
<span class="custom-control-label">
<span class="custom-control-label-text sr-only">select-page</span>
<span class="custom-control-label-text sr-only">select-items</span>
</span>
</label>
</div>
Expand Down Expand Up @@ -3838,7 +3838,7 @@ exports[`ClayDatasetDisplay should render a ClayDatasetDisplay with items and li
<label>
<input class="custom-control-input" ref="input" type="checkbox">
<span class="custom-control-label">
<span class="custom-control-label-text sr-only">select-page</span>
<span class="custom-control-label-text sr-only">select-items</span>
</span>
</label>
</div>
Expand Down Expand Up @@ -4877,7 +4877,7 @@ exports[`ClayDatasetDisplay should render a ClayDatasetDisplay with items and li
<label>
<input class="custom-control-input" ref="input" type="checkbox">
<span class="custom-control-label">
<span class="custom-control-label-text sr-only">select-page</span>
<span class="custom-control-label-text sr-only">select-items</span>
</span>
</label>
</div>
Expand Down Expand Up @@ -5608,7 +5608,7 @@ exports[`ClayDatasetDisplay should render a ClayDatasetDisplay with items and se
<label>
<input class="custom-control-input" ref="input" type="checkbox">
<span class="custom-control-label">
<span class="custom-control-label-text sr-only">select-page</span>
<span class="custom-control-label-text sr-only">select-items</span>
</span>
</label>
</div>
Expand Down Expand Up @@ -5991,7 +5991,7 @@ exports[`ClayDatasetDisplay should render a ClayDatasetDisplay with selected gro
<label>
<input checked="" class="custom-control-input" ref="input" type="checkbox">
<span class="custom-control-label">
<span class="custom-control-label-text sr-only">select-page</span>
<span class="custom-control-label-text sr-only">select-items</span>
</span>
</label>
</div>
Expand Down Expand Up @@ -6509,7 +6509,7 @@ exports[`ClayDatasetDisplay should render a ClayDatasetDisplay with selected ite
<label>
<input checked="" class="custom-control-input" ref="input" type="checkbox">
<span class="custom-control-label">
<span class="custom-control-label-text sr-only">select-page</span>
<span class="custom-control-label-text sr-only">select-items</span>
</span>
</label>
</div>
Expand Down Expand Up @@ -6843,7 +6843,7 @@ exports[`ClayDatasetDisplay should render a ClayDatasetDisplay with ungrouped it
<label>
<input class="custom-control-input" ref="input" type="checkbox">
<span class="custom-control-label">
<span class="custom-control-label-text sr-only">select-page</span>
<span class="custom-control-label-text sr-only">select-items</span>
</span>
</label>
</div>
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<nav class="management-bar management-bar-primary navbar navbar-expand-md navbar-nowrap"><div class="container-fluid container-fluid-max-xl"><ul class="navbar-nav navbar-nav-expand"><li class="nav-item"><div class="custom-control custom-checkbox"><label><input checked="checked"class="custom-control-input"ref="input" type="checkbox" /><span class="custom-control-label"><span class="custom-control-label-text sr-only">select-page</span></span></label></div></li><li class="nav-item"><span class="navbar-text">1-of-3 <span class="navbar-breakpoint-down-d-none">items-selected</span></span></li></ul><ul class="navbar-nav"><li class="nav-item navbar-breakpoint-down-d-none" data-quick-action-index="3" data-onclick="null"><button class="btn nav-link nav-link-monospaced btn-unstyled"aria-label="icon"type="null"><svg aria-hidden="true" class="lexicon-icon lexicon-icon-icon"focusable="false"><title>icon</title><use xlink:href="spritemap.svg#icon" /></svg></button></li><li class="nav-item navbar-breakpoint-down-d-none" data-quick-action-index="5" data-onclick="null"><button class="btn nav-link nav-link-monospaced btn-unstyled"aria-label="icon"title="action 6"type="null"><svg aria-hidden="true" class="lexicon-icon lexicon-icon-icon"focusable="false"><title>icon</title><use xlink:href="spritemap.svg#icon" /></svg></button></li><li class="nav-item"><div class="dropdown dropdown-action"><button aria-expanded="false"aria-haspopup="true" aria-label="toggle" class="dropdown-toggle btn nav-link nav-link-monospaced btn-unstyled"data-onclick="toggle"title="actions"type="button"><svg aria-hidden="true" class="lexicon-icon lexicon-icon-ellipsis-v"focusable="false"><title>ellipsis-v</title><use xlink:href="spritemap.svg#ellipsis-v" /></svg></button><div class="dropdown-menu" ref="menu"><ul class="list-unstyled"><li data-onclick="null"><button class="btn dropdown-item btn-sm btn-link"aria-label="action 1"type="null">action 1</button></li><li data-onclick="null"><button class="btn dropdown-item btn-sm btn-link"aria-label="action 2"type="null">action 2</button></li><li data-onclick="null"><button class="btn dropdown-item btn-sm btn-link"type="null"></button></li><li data-onclick="null"><button class="btn dropdown-item btn-sm btn-link"type="null"></button></li><li data-onclick="null"><button class="btn dropdown-item btn-sm btn-link"aria-label="action 5"type="null">action 5</button></li><li data-onclick="null"><button class="btn dropdown-item btn-sm btn-link"aria-label="action 6"type="null">action 6</button></li></ul></div></div></li></ul></div></nav>
<nav class="management-bar management-bar-primary navbar navbar-expand-md navbar-nowrap"><div class="container-fluid container-fluid-max-xl"><ul class="navbar-nav navbar-nav-expand"><li class="nav-item"><div class="custom-control custom-checkbox"><label><input checked="checked"class="custom-control-input"ref="input" type="checkbox" /><span class="custom-control-label"><span class="custom-control-label-text sr-only">select-items</span></span></label></div></li><li class="nav-item"><span class="navbar-text">1-of-3 <span class="navbar-breakpoint-down-d-none">items-selected</span></span></li></ul><ul class="navbar-nav"><li class="nav-item navbar-breakpoint-down-d-none" data-quick-action-index="3" data-onclick="null"><button class="btn nav-link nav-link-monospaced btn-unstyled"aria-label="icon"type="null"><svg aria-hidden="true" class="lexicon-icon lexicon-icon-icon"focusable="false"><title>icon</title><use xlink:href="spritemap.svg#icon" /></svg></button></li><li class="nav-item navbar-breakpoint-down-d-none" data-quick-action-index="5" data-onclick="null"><button class="btn nav-link nav-link-monospaced btn-unstyled"aria-label="icon"title="action 6"type="null"><svg aria-hidden="true" class="lexicon-icon lexicon-icon-icon"focusable="false"><title>icon</title><use xlink:href="spritemap.svg#icon" /></svg></button></li><li class="nav-item"><div class="dropdown dropdown-action"><button aria-expanded="false"aria-haspopup="true" aria-label="toggle" class="dropdown-toggle btn nav-link nav-link-monospaced btn-unstyled"data-onclick="toggle"title="actions"type="button"><svg aria-hidden="true" class="lexicon-icon lexicon-icon-ellipsis-v"focusable="false"><title>ellipsis-v</title><use xlink:href="spritemap.svg#ellipsis-v" /></svg></button><div class="dropdown-menu" ref="menu"><ul class="list-unstyled"><li data-onclick="null"><button class="btn dropdown-item btn-sm btn-link"aria-label="action 1"type="null">action 1</button></li><li data-onclick="null"><button class="btn dropdown-item btn-sm btn-link"aria-label="action 2"type="null">action 2</button></li><li data-onclick="null"><button class="btn dropdown-item btn-sm btn-link"type="null"></button></li><li data-onclick="null"><button class="btn dropdown-item btn-sm btn-link"type="null"></button></li><li data-onclick="null"><button class="btn dropdown-item btn-sm btn-link"aria-label="action 5"type="null">action 5</button></li><li data-onclick="null"><button class="btn dropdown-item btn-sm btn-link"aria-label="action 6"type="null">action 6</button></li></ul></div></div></li></ul></div></nav>
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<div class="element-class-1 element-class-2"id="id"><nav class="management-bar management-bar-primary navbar navbar-expand-md navbar-nowrap"><div class="container-fluid container-fluid-max-xl"><ul class="navbar-nav navbar-nav-expand"><li class="nav-item"><div class="custom-control custom-checkbox"><label><input checked="checked"class="custom-control-input"ref="input" type="checkbox" /><span class="custom-control-label"><span class="custom-control-label-text sr-only">select-page</span></span></label></div></li><li class="nav-item"><span class="navbar-text">1-of-100 <span class="navbar-breakpoint-down-d-none">items-selected</span></span></li></ul><ul class="navbar-nav"><li class="nav-item"><div class="dropdown dropdown-action"><button aria-expanded="false"aria-haspopup="true" aria-label="toggle" class="dropdown-toggle btn nav-link nav-link-monospaced btn-unstyled"data-onclick="toggle"title="actions"type="button"><svg aria-hidden="true" class="lexicon-icon lexicon-icon-ellipsis-v"focusable="false"><title>ellipsis-v</title><use xlink:href="spritemap.svg#ellipsis-v" /></svg></button><div class="dropdown-menu" ref="menu"><ul class="list-unstyled"><li data-onclick="null"><button class="btn dropdown-item btn-sm btn-link"type="null"></button></li></ul></div></div></li></ul></div></nav></div>
<div class="element-class-1 element-class-2"id="id"><nav class="management-bar management-bar-primary navbar navbar-expand-md navbar-nowrap"><div class="container-fluid container-fluid-max-xl"><ul class="navbar-nav navbar-nav-expand"><li class="nav-item"><div class="custom-control custom-checkbox"><label><input checked="checked"class="custom-control-input"ref="input" type="checkbox" /><span class="custom-control-label"><span class="custom-control-label-text sr-only">select-items</span></span></label></div></li><li class="nav-item"><span class="navbar-text">1-of-100 <span class="navbar-breakpoint-down-d-none">items-selected</span></span></li></ul><ul class="navbar-nav"><li class="nav-item"><div class="dropdown dropdown-action"><button aria-expanded="false"aria-haspopup="true" aria-label="toggle" class="dropdown-toggle btn nav-link nav-link-monospaced btn-unstyled"data-onclick="toggle"title="actions"type="button"><svg aria-hidden="true" class="lexicon-icon lexicon-icon-ellipsis-v"focusable="false"><title>ellipsis-v</title><use xlink:href="spritemap.svg#ellipsis-v" /></svg></button><div class="dropdown-menu" ref="menu"><ul class="list-unstyled"><li data-onclick="null"><button class="btn dropdown-item btn-sm btn-link"type="null"></button></li></ul></div></div></li></ul></div></nav></div>
Original file line number Diff line number Diff line change
Expand Up @@ -205,8 +205,8 @@
{param events: ['change': $_handleSelectPageCheckboxChanged] /}
{param indeterminate: $selectedItems < $totalItems /}
{param label kind="text"}
{msg desc="Select page checkbox label"}
select-page
{msg desc="Select items checkbox label"}
select-items
{/msg}
{/param}

Expand Down Expand Up @@ -478,8 +478,8 @@
{param disabled: $disabled /}
{param events: ['change': $_handleSelectPageCheckboxChanged] /}
{param label kind="text"}
{msg desc="Select page checkbox label"}
select-page
{msg desc="Select items checkbox label"}
select-items
{/msg}
{/param}

Expand Down
Loading

0 comments on commit e1fee23

Please sign in to comment.