File tree 6 files changed +11
-5
lines changed
java/ru/mystamps/web/feature/site
6 files changed +11
-5
lines changed Original file line number Diff line number Diff line change @@ -134,7 +134,7 @@ class AddCatalogNumbersFormView extends React.PureComponent {
134
134
</ div >
135
135
</ div >
136
136
< div className = "form-group form-group-sm" >
137
- < label htmlFor = "catalog-numbers" className = "control-label col-sm-3" >
137
+ < label htmlFor = "catalog-numbers" className = "control-label col-sm-3 required-field " >
138
138
{ l10n [ 't_numbers' ] || 'Numbers' }
139
139
</ label >
140
140
< div className = "row" >
Original file line number Diff line number Diff line change @@ -151,7 +151,7 @@ class AddCatalogPriceFormView extends React.PureComponent {
151
151
</ div >
152
152
</ div >
153
153
< div className = "form-group form-group-sm" >
154
- < label htmlFor = "catalog-price" className = "control-label col-sm-3" >
154
+ < label htmlFor = "catalog-price" className = "control-label col-sm-3 required-field " >
155
155
{ l10n [ 't_price' ] || 'Price' }
156
156
</ label >
157
157
< div className = "col-sm-3" >
Original file line number Diff line number Diff line change @@ -105,7 +105,7 @@ class AddCommentFormView extends React.PureComponent {
105
105
{ l10n [ 't_server_error' ] || 'Server error' }
106
106
</ div >
107
107
< div className = "form-group form-group-sm" >
108
- < label htmlFor = "new-comment" className = "control-label col-sm-3" >
108
+ < label htmlFor = "new-comment" className = "control-label col-sm-3 required-field " >
109
109
{ l10n [ 't_comment' ] || 'Comment' }
110
110
</ label >
111
111
< div className = "col-sm-6" >
Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ public final class ResourceUrl {
32
32
public static final String STATIC_RESOURCES_URL = "https://stamps.filezz.ru" ;
33
33
34
34
// MUST be updated when any of our resources were modified
35
- public static final String RESOURCES_VERSION = "v0.4.5.0 " ;
35
+ public static final String RESOURCES_VERSION = "v0.4.5.1 " ;
36
36
37
37
// CheckStyle: ignore LineLength for next 16 lines
38
38
private static final String CATALOG_UTILS_JS = "/public/js/" + RESOURCES_VERSION + "/CatalogUtils.min.js" ;
Original file line number Diff line number Diff line change @@ -63,6 +63,12 @@ footer {
63
63
font-style : italic;
64
64
}
65
65
66
+ .required-field : after {
67
+ /* \00a0 is the same as nbsp; */
68
+ content : '\00a0*' ;
69
+ color : # 8b0000 ;
70
+ }
71
+
66
72
.required_field {
67
73
color : # 8b0000 ;
68
74
}
Original file line number Diff line number Diff line change 136
136
< div class ="form-group form-group-sm "
137
137
th:classappend ="${#fields.hasErrors('imageId') ? 'has-error' : ''} "
138
138
th:if ="${allowReplacingImages} ">
139
- < label for ="image-id " class ="control-label col-sm-3 " th:text ="#{t_image_id} ">
139
+ < label for ="image-id " class ="control-label col-sm-3 required-field " th:text ="#{t_image_id} ">
140
140
Image ID
141
141
</ label >
142
142
< div class ="col-sm-4 ">
You can’t perform that action at this time.
0 commit comments