@@ -279,11 +279,11 @@ <h3 th:text="${#strings.capitalize(add_series)}">
279
279
280
280
< div class ="form-group js-collapse-toggle-header ">
281
281
< div class ="col-sm-offset-3 col-sm-5 ">
282
- < span class ="glyphicon glyphicon-chevron-right " th:class ="${issueDateHasErrors or issueDateHasValues ? 'glyphicon glyphicon-chevron-down' : 'glyphicon glyphicon-chevron-right'} "> </ span > < a href ="javascript:void(0) " id ="specify-issue-date-link " data-toggle ="collapse " data-target =".js-issue-date " th:text ="#{t_specify_issue_date} "> Specify date of release</ a >
282
+ < span class ="glyphicon glyphicon-chevron-down " th:class ="${issueDateHasErrors or issueDateHasValues ? 'glyphicon glyphicon-chevron-down' : 'glyphicon glyphicon-chevron-right'} "> </ span > < a href ="javascript:void(0) " id ="specify-issue-date-link " data-toggle ="collapse " data-target =".js-issue-date " th:text ="#{t_specify_issue_date} "> Specify date of release</ a >
283
283
</ div >
284
284
</ div >
285
285
286
- < div class ="form-group form-group-sm collapse js-issue-date " th:classappend ="|${issueDateHasErrors ? 'has-error in ' : ''} ${issueDateHasValues ? 'in ' : ''}| ">
286
+ < div class ="form-group form-group-sm js-issue-date collapse in " th:classappend ="|${issueDateHasErrors ? 'has-error' : ''} ${issueDateHasValues ? 'js-has-data ' : ''}| ">
287
287
< label for ="year " class ="control-label col-sm-3 ">
288
288
< span class ="field-label " th:text ="#{t_issue_date} ">
289
289
Date of release
@@ -371,11 +371,11 @@ <h3 th:text="${#strings.capitalize(add_series)}">
371
371
372
372
< div class ="form-group js-collapse-toggle-header ">
373
373
< div class ="col-sm-offset-3 col-sm-7 ">
374
- < span class ="glyphicon glyphicon-chevron-right " th:class ="${showCatalogsInfo ? 'glyphicon glyphicon-chevron-down' : 'glyphicon glyphicon-chevron-right'} "> </ span > < a href ="javascript:void(0) " id ="add-catalog-numbers-link " data-toggle ="collapse " data-target =".js-catalogs-info " th:text ="#{t_add_catalogs_info} "> Add information from stamps catalogues</ a >
374
+ < span class ="glyphicon glyphicon-chevron-down " th:class ="${showCatalogsInfo ? 'glyphicon glyphicon-chevron-down' : 'glyphicon glyphicon-chevron-right'} "> </ span > < a href ="javascript:void(0) " id ="add-catalog-numbers-link " data-toggle ="collapse " data-target =".js-catalogs-info " th:text ="#{t_add_catalogs_info} "> Add information from stamps catalogues</ a >
375
375
</ div >
376
376
</ div >
377
377
378
- < div class ="form-group form-group-sm collapse js-catalogs-info " th:classappend ="|${michelHasErrors ? 'has-error' : ''} ${showCatalogsInfo ? 'in ' : ''}| ">
378
+ < div class ="form-group form-group-sm js-catalogs-info collapse in " th:classappend ="|${michelHasErrors ? 'has-error' : ''} ${michelHasValues ? 'js-has-data ' : ''}| ">
379
379
< label for ="michelNumbers " class ="control-label col-sm-3 ">
380
380
< span class ="field-label " th:text ="#{t_michel} ">
381
381
Michel
@@ -400,7 +400,7 @@ <h3 th:text="${#strings.capitalize(add_series)}">
400
400
</ div >
401
401
</ div >
402
402
403
- < div class ="form-group form-group-sm collapse js-catalogs-info " th:classappend ="|${scottHasErrors ? 'has-error' : ''} ${showCatalogsInfo ? 'in ' : ''}| ">
403
+ < div class ="form-group form-group-sm js-catalogs-info collapse in " th:classappend ="|${scottHasErrors ? 'has-error' : ''} ${scottHasValues ? 'js-has-data ' : ''}| ">
404
404
< label for ="scottNumbers " class ="control-label col-sm-3 ">
405
405
< span class ="field-label " th:text ="#{t_scott} ">
406
406
Scott
@@ -425,7 +425,7 @@ <h3 th:text="${#strings.capitalize(add_series)}">
425
425
</ div >
426
426
</ div >
427
427
428
- < div class ="form-group form-group-sm collapse js-catalogs-info " th:classappend ="|${yvertHasErrors ? 'has-error' : ''} ${showCatalogsInfo ? 'in ' : ''}| ">
428
+ < div class ="form-group form-group-sm js-catalogs-info collapse in " th:classappend ="|${yvertHasErrors ? 'has-error' : ''} ${yvertHasValues ? 'js-has-data ' : ''}| ">
429
429
< label for ="yvertNumbers " class ="control-label col-sm-3 ">
430
430
< span class ="field-label " th:text ="#{t_yvert} ">
431
431
Yvert
@@ -450,7 +450,7 @@ <h3 th:text="${#strings.capitalize(add_series)}">
450
450
</ div >
451
451
</ div >
452
452
453
- < div class ="form-group form-group-sm collapse js-catalogs-info " th:classappend ="|${gibbonsHasErrors ? 'has-error' : ''} ${showCatalogsInfo ? 'in ' : ''}| ">
453
+ < div class ="form-group form-group-sm js-catalogs-info collapse in " th:classappend ="|${gibbonsHasErrors ? 'has-error' : ''} ${gibbonsHasValues ? 'js-has-data ' : ''}| ">
454
454
< label for ="gibbonsNumbers " class ="control-label col-sm-3 ">
455
455
< span class ="field-label " th:text ="#{t_sg} ">
456
456
Gibbons
@@ -477,11 +477,11 @@ <h3 th:text="${#strings.capitalize(add_series)}">
477
477
478
478
< div class ="form-group js-collapse-toggle-header " sec:authorize ="hasAuthority('ADD_COMMENTS_TO_SERIES') ">
479
479
< div class ="col-sm-offset-3 col-sm-5 ">
480
- < span class ="glyphicon glyphicon-chevron-right " th:class ="${#fields.hasErrors('comment') or addSeriesForm.comment != null ? 'glyphicon glyphicon-chevron-down' : 'glyphicon glyphicon-chevron-right'} "> </ span > < a href ="javascript:void(0) " id ="add-comment-link " data-toggle ="collapse " data-target =".js-comment " th:text ="#{t_add_comment} "> Add comment</ a >
480
+ < span class ="glyphicon glyphicon-chevron-down " th:class ="${#fields.hasErrors('comment') or addSeriesForm.comment != null ? 'glyphicon glyphicon-chevron-down' : 'glyphicon glyphicon-chevron-right'} "> </ span > < a href ="javascript:void(0) " id ="add-comment-link " data-toggle ="collapse " data-target =".js-comment " th:text ="#{t_add_comment} "> Add comment</ a >
481
481
</ div >
482
482
</ div >
483
483
484
- < div class ="form-group collapse js-comment " th:classappend ="|${#fields.hasErrors('comment') ? 'has-error in ' : ''} ${addSeriesForm.comment != null ? 'in ' : ''}| " sec:authorize ="hasAuthority('ADD_COMMENTS_TO_SERIES') ">
484
+ < div class ="form-group js-comment collapse in " th:classappend ="|${#fields.hasErrors('comment') ? 'has-error' : ''} ${addSeriesForm.comment != null ? 'js-has-data ' : ''}| " sec:authorize ="hasAuthority('ADD_COMMENTS_TO_SERIES') ">
485
485
< label for ="comment " class ="control-label col-sm-3 ">
486
486
< span class ="field-label " th:text ="#{t_comment} ">
487
487
Comment
0 commit comments