@@ -1121,8 +1121,6 @@ <h5 th:text="#{t_add_info_who_selling_series}">Add info about selling/buying thi
1121
1121
< script src ="../../../../../../target/classes/js/components/AddReleaseYearForm.js " th:src ="${RELEASE_YEAR_FORM_JS} "> </ script >
1122
1122
< script src ="../../../../../../target/classes/js/components/AddCatalogPriceForm.js " th:src ="${CATALOG_PRICE_FORM_JS} "> </ script >
1123
1123
< script src ="../../../../../../target/classes/js/components/AddCatalogNumbersForm.js " th:src ="${CATALOG_NUMBERS_FORM_JS} "> </ script >
1124
- < script src ="../../../../../../target/classes/js/components/SeriesSalesList.js " th:src ="${SERIES_SALES_LIST_JS} "> </ script >
1125
-
1126
1124
1127
1125
< script th:inline ="javascript ">
1128
1126
/*[+
@@ -1161,12 +1159,6 @@ <h5 th:text="#{t_add_info_who_selling_series}">Add info about selling/buying thi
1161
1159
't_add': [[ #{t_add} ]]
1162
1160
}
1163
1161
};
1164
- var seriesSalesListProps = {
1165
- 'url': [[ '__@{${INFO_SERIES_PAGE}(id=${series.id})}__' ]],
1166
- 'l10n': {
1167
- 't_server_error': [[ #{t_server_error} ]],
1168
- }
1169
- };
1170
1162
+]*/
1171
1163
1172
1164
/*[- */
@@ -1184,17 +1176,10 @@ <h5 th:text="#{t_add_info_who_selling_series}">Add info about selling/buying thi
1184
1176
'url' : '/series/100' ,
1185
1177
'l10n' : { }
1186
1178
} ;
1187
-
1188
- var seriesSalesListProps = {
1189
- 'url' : '/series/100' ,
1190
- 'l10n' : { }
1191
- } ;
1192
1179
/* -]*/
1193
1180
1194
1181
renderComponent ( AddCatalogPriceForm , addCatalogPriceProps , 'add-catalog-price' ) ;
1195
1182
renderComponent ( AddCatalogNumbersForm , addCatalogNumbersProps , 'add-catalog-numbers' ) ;
1196
- renderComponent ( SeriesSalesList , seriesSalesListProps , 'series-sales-list' ) ;
1197
-
1198
1183
1199
1184
/*[# th:if="${series.releaseYear == null}"]*/
1200
1185
/*[+
@@ -1222,6 +1207,39 @@ <h5 th:text="#{t_add_info_who_selling_series}">Add info about selling/buying thi
1222
1207
</th:block>
1223
1208
/*/-->
1224
1209
1210
+ <!--/*/
1211
+ <th:block sec:authorize="hasAuthority('VIEW_SERIES_SALES')" togglz:active="USE_REACT">
1212
+ /*/-->
1213
+ < script src ="../../../../../../target/classes/js/components/SeriesSalesList.js " th:src ="${SERIES_SALES_LIST_JS} "> </ script >
1214
+
1215
+ < script th:inline ="javascript ">
1216
+ /*[+
1217
+ var seriesSalesListProps = {
1218
+ 'url': [[ '__@{${INFO_SERIES_PAGE}(id=${series.id})}__' ]],
1219
+ 'l10n': {
1220
+ 't_server_error': [[ #{t_server_error} ]],
1221
+ 't_who_selling_series': [[ #{t_who_selling_series} ]],
1222
+ 't_sold_to': [[ #{t_sold_to} ]],
1223
+ 't_sold_for': [[ #{t_sold_for} ]],
1224
+ 't_was_selling': [[ #{t_was_selling} ]],
1225
+ 't_cancelled': [[ #{t_cancelled} ]]
1226
+ }
1227
+ };
1228
+ +]*/
1229
+
1230
+ /*[- */
1231
+ var seriesSalesListProps = {
1232
+ 'url' : '/series/100' ,
1233
+ 'l10n' : { }
1234
+ } ;
1235
+ /* -]*/
1236
+
1237
+ renderComponent ( SeriesSalesList , seriesSalesListProps , 'series-sales-list' ) ;
1238
+ </ script >
1239
+ <!--/*/
1240
+ </th:block>
1241
+ /*/-->
1242
+
1225
1243
<!--/*/
1226
1244
<th:block sec:authorize="hasAuthority('ADD_COMMENTS_TO_SERIES')" th:if="${series.comment == null}">
1227
1245
/*/-->
0 commit comments