Skip to content

Commit

Permalink
Merged in feature/SHIBUI-398 (pull request #40)
Browse files Browse the repository at this point in the history
Implemented tabbing for new buttons in attribute release form

Approved-by: Ryan Mathis <rmathis@unicon.net>
  • Loading branch information
rmathis committed Mar 30, 2018
1 parent 919a9ac commit 9e48030
Show file tree
Hide file tree
Showing 4 changed files with 55 additions and 4 deletions.
4 changes: 3 additions & 1 deletion ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@
"scripts": {
"ng": "ng",
"start": "ng serve --proxy-config proxy.conf.json",
"startProd": "ng serve --proxy-config proxy.conf.json --i18nFile=./src/locale/en.xlf --i18nFormat=xlf --locale=en --aot --environment=prod",
"start:en": "ng serve --proxy-config proxy.conf.json --i18nFile=./src/locale/en.xlf --i18nFormat=xlf --locale=en --aot",
"start:es": "ng serve --proxy-config proxy.conf.json --i18nFile=./src/locale/es.xlf --i18nFormat=xlf --locale=es --aot",
"start:prod": "ng serve --proxy-config proxy.conf.json --i18nFile=./src/locale/en.xlf --i18nFormat=xlf --locale=en --aot --environment=prod",
"build": "ng build",
"test": "ng test --code-coverage",
"lint": "ng lint",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,18 +29,20 @@
</td>
</tr>
<tr>
<td scope="col">Check All Attributes</td>
<td scope="col" i18n="@@label--check-all-attributes">Check All Attributes</td>
<td scope="col">
<button class="btn btn-text text-success btn-sm" (click)="onCheckAll()">
<i class="fa fa-check"></i>
<span class="sr-only" i18n="@@label--check-all-attributes">Check All Attributes</span>
</button>
</td>
</tr>
<tr>
<td scope="col">Clear All Attributes</td>
<td scope="col" i18n="@@label--clear-all-attributes">Clear All Attributes</td>
<td scope="col">
<button class="btn btn-text text-danger btn-sm" (click)="onCheckNone()">
<i class="fa fa-times"></i>
<span class="sr-only" i18n="@@label--clear-all-attributes">Clear All Attributes</span>
</button>
</td>
</tr>
Expand Down
25 changes: 24 additions & 1 deletion ui/src/locale/en.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -2107,7 +2107,30 @@
<context context-type="linenumber">3</context>
</context-group>
</trans-unit>

<trans-unit id="label--check-all-attributes" datatype="html">
<source>Check All Attributes</source>
<target>Check All Attributes</target>
<context-group purpose="location">
<context context-type="sourcefile">app/metadata-provider/component/forms/attribute-release-form.component.ts</context>
<context context-type="linenumber">32</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">app/metadata-provider/component/forms/attribute-release-form.component.ts</context>
<context context-type="linenumber">36</context>
</context-group>
</trans-unit>
<trans-unit id="label--clear-all-attributes" datatype="html">
<source>Clear All Attributes</source>
<target>Clear All Attributes</target>
<context-group purpose="location">
<context context-type="sourcefile">app/metadata-provider/component/forms/attribute-release-form.component.ts</context>
<context context-type="linenumber">41</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">app/metadata-provider/component/forms/attribute-release-form.component.ts</context>
<context context-type="linenumber">45</context>
</context-group>
</trans-unit>
</body>
</file>
</xliff>
24 changes: 24 additions & 0 deletions ui/src/locale/es.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -2103,6 +2103,30 @@
<context context-type="linenumber">3</context>
</context-group>
</trans-unit>
<trans-unit id="label--check-all-attributes" datatype="html">
<source>Check All Attributes</source>
<target>Check All Attributes (es)</target>
<context-group purpose="location">
<context context-type="sourcefile">app/metadata-provider/component/forms/attribute-release-form.component.ts</context>
<context context-type="linenumber">32</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">app/metadata-provider/component/forms/attribute-release-form.component.ts</context>
<context context-type="linenumber">36</context>
</context-group>
</trans-unit>
<trans-unit id="label--clear-all-attributes" datatype="html">
<source>Clear All Attributes</source>
<target>Clear All Attributes (es)</target>
<context-group purpose="location">
<context context-type="sourcefile">app/metadata-provider/component/forms/attribute-release-form.component.ts</context>
<context context-type="linenumber">41</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">app/metadata-provider/component/forms/attribute-release-form.component.ts</context>
<context context-type="linenumber">45</context>
</context-group>
</trans-unit>
</body>
</file>
</xliff>

0 comments on commit 9e48030

Please sign in to comment.