Skip to content

Commit 6159372

Browse files
committed
refactor(series/info.html): rename variables with props.
1 parent 34776ed commit 6159372

File tree

1 file changed

+6
-6
lines changed
  • src/main/webapp/WEB-INF/views/series

1 file changed

+6
-6
lines changed

src/main/webapp/WEB-INF/views/series/info.html

+6-6
Original file line numberDiff line numberDiff line change
@@ -927,7 +927,7 @@ <h5 th:text="#{t_add_info_who_selling_series}">Add info about selling/buying thi
927927
<script src="../../../../../../target/classes/js/components/SimilarSeriesForm.js" th:src="${SIMILAR_SERIES_FORM_JS}"></script>
928928
<script th:inline="javascript">
929929
/*[+
930-
var similarSeriesFormProps = {
930+
var similarSeriesProps = {
931931
'seriesId': [[ ${series.id} ]],
932932
'url': [[ '__@{${MARK_SIMILAR_SERIES}}__' ]],
933933
'csrfHeaderName': [[ ${_csrf.headerName} ]],
@@ -941,14 +941,14 @@ <h5 th:text="#{t_add_info_who_selling_series}">Add info about selling/buying thi
941941
+]*/
942942

943943
/*[- */
944-
var similarSeriesFormProps = {
944+
var similarSeriesProps = {
945945
'seriesId': 1,
946946
'url': '/series/similar',
947947
'l10n': {}
948948
};
949949
/* -]*/
950950

951-
renderComponent(SimilarSeriesForm, similarSeriesFormProps, 'mark-similar-series');
951+
renderComponent(SimilarSeriesForm, similarSeriesProps, 'mark-similar-series');
952952
</script>
953953
<!--/*/
954954
</th:block>
@@ -960,7 +960,7 @@ <h5 th:text="#{t_add_info_who_selling_series}">Add info about selling/buying thi
960960
<script src="../../../../../../target/classes/js/components/SeriesSaleImportForm.js" th:src="${SALE_IMPORT_FORM_JS}"></script>
961961
<script th:inline="javascript">
962962
/*[+
963-
var importFormProps = {
963+
var seriesSaleImportProps = {
964964
'url': [[ '__@{${IMPORT_SERIES_SALES}}__' ]],
965965
'csrfHeaderName': [[ ${_csrf.headerName} ]],
966966
'csrfTokenValue': [[ ${_csrf.token} ]],
@@ -974,13 +974,13 @@ <h5 th:text="#{t_add_info_who_selling_series}">Add info about selling/buying thi
974974
+]*/
975975

976976
/*[- */
977-
var importFormProps = {
977+
var seriesSaleImportProps = {
978978
'url': '/series/sales/import',
979979
'l10n': {}
980980
};
981981
/* -]*/
982982

983-
renderComponent(SeriesSaleImportForm, importFormProps, 'import-series-sale');
983+
renderComponent(SeriesSaleImportForm, seriesSaleImportProps, 'import-series-sale');
984984
</script>
985985
<!--/*/
986986
</th:block>

0 commit comments

Comments
 (0)