Skip to content

Commit dacbeec

Browse files
committed
chore: make <label> work on a series info page.
Also fix the elements with duplicated ids. Corrections to the following commits: - 487ef61 (#1341, #1339) - 86959e0 (#1342, #1340) - 660e616 (#1338, #785) - fb1df42 (#1344, #1343)
1 parent 2274559 commit dacbeec

File tree

5 files changed

+9
-9
lines changed

5 files changed

+9
-9
lines changed

src/main/frontend/src/components/AddCatalogNumbersForm.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -113,12 +113,12 @@ class AddCatalogNumbersFormView extends React.PureComponent {
113113
{ l10n['t_server_error'] || 'Server error' }
114114
</div>
115115
<div className="form-group form-group-sm">
116-
<label className="control-label col-sm-3">
116+
<label for="numbers-catalog-name" className="control-label col-sm-3">
117117
{ l10n['t_catalog'] || 'Catalog' }
118118
</label>
119119
<div className="col-sm-6">
120120
<select
121-
id="catalog-name"
121+
id="numbers-catalog-name"
122122
name="catalogName"
123123
className="form-control"
124124
onChange={ handleChangeCatalog }>
@@ -132,7 +132,7 @@ class AddCatalogNumbersFormView extends React.PureComponent {
132132
</div>
133133
</div>
134134
<div className="form-group form-group-sm">
135-
<label className="control-label col-sm-3">
135+
<label for="catalog-numbers" className="control-label col-sm-3">
136136
{ l10n['t_numbers'] || 'Numbers' }
137137
</label>
138138
<div className="row">

src/main/frontend/src/components/AddCatalogPriceForm.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -131,12 +131,12 @@ class AddCatalogPriceFormView extends React.PureComponent {
131131
{ l10n['t_server_error'] || 'Server error' }
132132
</div>
133133
<div className="form-group form-group-sm">
134-
<label className="control-label col-sm-3">
134+
<label for="price-catalog-name" className="control-label col-sm-3">
135135
{ l10n['t_catalog'] || 'Catalog' }
136136
</label>
137137
<div className="col-sm-6">
138138
<select
139-
id="catalog-name"
139+
id="price-catalog-name"
140140
name="catalogName"
141141
className="form-control"
142142
onChange={ handleChangeCatalog }>
@@ -150,7 +150,7 @@ class AddCatalogPriceFormView extends React.PureComponent {
150150
</div>
151151
</div>
152152
<div className="form-group form-group-sm">
153-
<label className="control-label col-sm-3">
153+
<label for="catalog-price" className="control-label col-sm-3">
154154
{ l10n['t_price'] || 'Price' }
155155
</label>
156156
<div className="col-sm-3">

src/main/frontend/src/components/AddCommentForm.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ class AddCommentFormView extends React.PureComponent {
100100
{ l10n['t_server_error'] || 'Server error' }
101101
</div>
102102
<div className="form-group form-group-sm">
103-
<label className="control-label col-sm-3">
103+
<label for="comment" className="control-label col-sm-3">
104104
{ l10n['t_comment'] || 'Comment' }
105105
</label>
106106
<div className="col-sm-6">

src/main/frontend/src/components/AddReleaseYearForm.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ class AddReleaseYearFormView extends React.PureComponent {
113113
{ l10n['t_server_error'] || 'Server error' }
114114
</div>
115115
<div className="form-group form-group-sm">
116-
<label className="control-label col-sm-3">
116+
<label for="release-year" className="control-label col-sm-3">
117117
{ l10n['t_year'] || 'Year' }
118118
</label>
119119
<div className="col-sm-6">

src/main/java/ru/mystamps/web/feature/site/ResourceUrl.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ public final class ResourceUrl {
3232
public static final String STATIC_RESOURCES_URL = "https://stamps.filezz.ru";
3333

3434
// MUST be updated when any of our resources were modified
35-
public static final String RESOURCES_VERSION = "v0.4.3.11";
35+
public static final String RESOURCES_VERSION = "v0.4.3.12";
3636

3737
// CheckStyle: ignore LineLength for next 15 lines
3838
private static final String CATALOG_UTILS_JS = "/public/js/" + RESOURCES_VERSION + "/CatalogUtils.min.js";

0 commit comments

Comments
 (0)