diff --git a/applications/product/config/ProductErrorUiLabels.xml b/applications/product/config/ProductErrorUiLabels.xml index 6d4c4da4bf..cdb8cf17d3 100644 --- a/applications/product/config/ProductErrorUiLabels.xml +++ b/applications/product/config/ProductErrorUiLabels.xml @@ -188,6 +188,12 @@ 已请求退货。 已請求退貨。 + + Status ist keine gültige Änderung: von ${productReview.statusId} nach ${parameters.statusId} + Status is not a valid change: from ${productReview.statusId} to ${parameters.statusId} + Le changement de statut de ${productReview.statusId} à ${parameters.statusId} n'est pas autorisé + Cambio di stato non è valido: da ${productReview.statusId} a ${parameters.statusId} + ${numAdded} Merkmale hinzugefügt mit ID ${productFeatureId} Added ${numAdded} features with ID ${productFeatureId} diff --git a/applications/product/config/ProductUiLabels.xml b/applications/product/config/ProductUiLabels.xml index 841c63c9c3..2631bbaae3 100644 --- a/applications/product/config/ProductUiLabels.xml +++ b/applications/product/config/ProductUiLabels.xml @@ -22652,6 +22652,17 @@ 重新索引关键字 重新索引關鍵字 + + Bewertung durch + Review By + Revisión por + A approuver par + Recensito da + การตรวจสอบโดย + Xem xét bởi + 检查员 + 檢查員 + Paket neu wägeny Re-Weigh Package diff --git a/applications/product/script/org/ofbiz/product/product/ProductServices.xml b/applications/product/script/org/ofbiz/product/product/ProductServices.xml index 7c251163ba..3b28566d5c 100644 --- a/applications/product/script/org/ofbiz/product/product/ProductServices.xml +++ b/applications/product/script/org/ofbiz/product/product/ProductServices.xml @@ -1236,4 +1236,33 @@ under the License. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/applications/product/servicedef/services.xml b/applications/product/servicedef/services.xml index d3d8a538b8..b93c89a970 100644 --- a/applications/product/servicedef/services.xml +++ b/applications/product/servicedef/services.xml @@ -204,6 +204,16 @@ under the License. + + Updates a product review record + + + + + + + diff --git a/applications/product/webapp/catalog/WEB-INF/controller.xml b/applications/product/webapp/catalog/WEB-INF/controller.xml index a972b6a6ee..c42002cdc6 100644 --- a/applications/product/webapp/catalog/WEB-INF/controller.xml +++ b/applications/product/webapp/catalog/WEB-INF/controller.xml @@ -2377,15 +2377,21 @@ under the License. - - - - - - - + + + + + + + + + + + + + @@ -3175,6 +3181,7 @@ under the License. + diff --git a/applications/product/webapp/catalog/reviews/pendingReviews.ftl b/applications/product/webapp/catalog/reviews/pendingReviews.ftl index f7789cbf5e..e69de29bb2 100644 --- a/applications/product/webapp/catalog/reviews/pendingReviews.ftl +++ b/applications/product/webapp/catalog/reviews/pendingReviews.ftl @@ -1,122 +0,0 @@ -<#-- -Licensed to the Apache Software Foundation (ASF) under one -or more contributor license agreements. See the NOTICE file -distributed with this work for additional information -regarding copyright ownership. The ASF licenses this file -to you under the Apache License, Version 2.0 (the -"License"); you may not use this file except in compliance -with the License. You may obtain a copy of the License at - -http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, -software distributed under the License is distributed on an -"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -KIND, either express or implied. See the License for the -specific language governing permissions and limitations -under the License. ---> - -
-
-

${uiLabelMap.ProductReviewsPendingApproval}

-
-
- <#if !pendingReviews?has_content> -

${uiLabelMap.ProductReviewsNoPendingApproval}

- <#else> -
- - - -
- - - -
- - - - - - - - - - - - <#assign rowCount = 0> - <#assign rowClass = "2"> - <#list pendingReviews as review> - <#if review.userLoginId?has_content> - <#assign postedUserLogin = review.getRelatedOne("UserLogin", false)> - <#if postedUserLogin.partyId?has_content> - <#assign party = postedUserLogin.getRelatedOne("Party", false)> - <#assign partyTypeId = party.get("partyTypeId")> - <#if partyTypeId == "PERSON"> - <#assign postedPerson = postedUserLogin.getRelatedOne("Person", false)> - <#else> - <#assign postedPerson = postedUserLogin.getRelatedOne("PartyGroup", false)> - - - - class="alternate-row"> - - - <#else> - - - - - - - - - - - <#assign rowCount = rowCount + 1> - <#-- toggle the row color --> - <#if rowClass == "2"> - <#assign rowClass = "1"> - <#else> - <#assign rowClass = "2"> - - - -
${uiLabelMap.ProductPendingReviewDate}${uiLabelMap.ProductPendingReviewBy}${uiLabelMap.CommonIsAnonymous}${uiLabelMap.ProductProductId}${uiLabelMap.ProductRating}${uiLabelMap.CommonStatus}${uiLabelMap.ProductReviews} - ${uiLabelMap.CommonAll} - -
- - ${review.postedDateTime?if_exists} - - <#if review.userLoginId?has_content && postedPerson?has_content> - - <#if postedPerson.firstName?has_content && postedPerson.lastName?has_content> - ${postedPerson.firstName} ${postedPerson.lastName} - <#else> - ${postedPerson.groupName} - - - - ${review.getRelatedOne("Product", false).internalName?if_exists}
${review.productId}
- - ${review.getRelatedOne("StatusItem", false).get("description", locale)} - - - -
-
- -
-
diff --git a/applications/product/widget/catalog/CatalogMenus.xml b/applications/product/widget/catalog/CatalogMenus.xml index 3bba20a227..83e6ffffb4 100644 --- a/applications/product/widget/catalog/CatalogMenus.xml +++ b/applications/product/widget/catalog/CatalogMenus.xml @@ -27,7 +27,7 @@ under the License. - + diff --git a/applications/product/widget/catalog/ReviewForms.xml b/applications/product/widget/catalog/ReviewForms.xml new file mode 100644 index 0000000000..f4c88204dd --- /dev/null +++ b/applications/product/widget/catalog/ReviewForms.xml @@ -0,0 +1,84 @@ + + + + + +
+ + + + + + + + + + + + + +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +