@c8y/ng1-modules 1017.157.0 → 1017.159.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -4,29 +4,20 @@
4
4
  ng-class="{ open: showAll, multiple: breadcrumbs.length > 1 }"
5
5
  >
6
6
  <button
7
- class="btn-show-all-breadcrumbs pull-left"
8
- type="button"
9
- title="{{ 'Expand/collapse all breadcrumbs' | translate }}"
10
- aria-label="{{ 'Expand/collapse all breadcrumbs' | translate }}"
7
+ class="btn-show-all-breadcrumbs"
8
+ aria-label="{{
9
+ showAll ? ('Collapse breadcrumbs' | translate) : ('Expand all breadcrumbs' | translate)
10
+ }}"
11
+ uib-tooltip="{{
12
+ showAll ? ('Collapse breadcrumbs' | translate) : ('Expand all breadcrumbs' | translate)
13
+ }}"
14
+ tooltip-append-to-body="true"
15
+ tooltip-placement="auto"
16
+ tooltip-popup-delay="500"
11
17
  ng-show="breadcrumbs.length > 1"
12
18
  ng-click="showAll = !showAll"
13
19
  >
14
- <i
15
- ng-hide="showAll"
16
- c8y-icon="caret-right"
17
- uib-tooltip="{{ 'Expand all breadcrumbs' | translate }}"
18
- tooltip-append-to-body="true"
19
- tooltip-placement="right"
20
- tooltip-popup-delay="500"
21
- ></i>
22
- <i
23
- ng-show="showAll"
24
- c8y-icon="caret-down"
25
- uib-tooltip="{{ 'Collapse breadcrumbs' | translate }}"
26
- tooltip-append-to-body="true"
27
- tooltip-placement="right"
28
- tooltip-popup-delay="500"
29
- ></i>
20
+ <i ng-class="{ 'icon-rotate-90': showAll }" c8y-icon="caret-right"></i>
30
21
  </button>
31
22
 
32
23
  <ul class="breadcrumbs text-muted" ng-repeat="path in breadcrumbs" ng-show="$first || showAll">
@@ -21,6 +21,7 @@
21
21
  class="{{ form.fieldHtmlClass }}"
22
22
  title="{{ form.title | translate }}"
23
23
  id="sf-{{ form.key.slice(-1)[0] + $id }}"
24
+ name="sf-{{ form.key.slice(-1)[0] + $id }}"
24
25
  />
25
26
  <span></span>
26
27
  <!-- To hide the label set form.labelHtmlClass to 'no-label' -->
@@ -8,7 +8,7 @@
8
8
  'col-sm-8': !hideActive
9
9
  }"
10
10
  >
11
- <label>{{ 'Username (for example, email)' | translate }}</label>
11
+ <label>{{ 'Username' | translate }}</label>
12
12
  <input
13
13
  class="form-control"
14
14
  name="username"
@@ -126,9 +126,10 @@
126
126
  >
127
127
  <label id="FirstName">{{ 'First name' | translate }}</label>
128
128
  <input
129
- aria-labelledby="FirstName"
130
129
  class="form-control"
131
130
  name="firstName"
131
+ aria-labelledby="FirstName"
132
+ placeholder="{{ 'e.g. Joe`LOCALIZE`' | translate }}"
132
133
  ng-model="user.firstName"
133
134
  ng-maxlength="50"
134
135
  c8y-autocomplete="off"
@@ -148,9 +149,10 @@
148
149
  >
149
150
  <label id="LastName">{{ 'Last name' | translate }}</label>
150
151
  <input
151
- aria-labelledby="LastName"
152
152
  class="form-control"
153
153
  name="lastName"
154
+ aria-labelledby="LastName"
155
+ placeholder="{{ 'e.g. Doe`LOCALIZE`' | translate }}"
154
156
  ng-model="user.lastName"
155
157
  ng-maxlength="50"
156
158
  c8y-autocomplete="off"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@c8y/ng1-modules",
3
- "version": "1017.157.0",
3
+ "version": "1017.159.0",
4
4
  "license": "Apache-2.0",
5
5
  "author": "Cumulocity",
6
6
  "description": "AngularJS modules for Cumulocity IoT applications.",