Skip to content

Commit

Permalink
update naming english to vietnamese
Browse files Browse the repository at this point in the history
  • Loading branch information
tuansu2021998 committed May 13, 2020
1 parent 1c1185e commit e3bcb29
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 11 deletions.
16 changes: 8 additions & 8 deletions src/main/webapp/admin/listallrealestate.xhtml
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@
<p:column filterBy="#{realEstate.realEstateSource}" filterMatchMode="exact" style="text-align:center">
<f:facet name="filter">
<p:selectOneMenu id="cbb-Source" onchange="PF('table-real-estate').filter()" styleClass="custom-filter">
<f:selectItem itemLabel="All Source" itemValue="#{null}" noSelectionOption="true" />
<f:selectItem itemLabel="Nguồn đăng" itemValue="#{null}" noSelectionOption="true" />
<f:selectItems value="#{listAllRealEstateBean.listRealEstateSource}" />
</p:selectOneMenu>
</f:facet>
Expand All @@ -190,15 +190,15 @@
<p:column filterBy="#{realEstate.realEstateStatus}" filterMatchMode="exact" style="text-align:center">
<f:facet name="filter">
<p:selectOneMenu id="cbb-Status" onchange="PF('table-real-estate').filter()" styleClass="custom-filter">
<f:selectItem itemLabel="All Status" itemValue="#{null}" noSelectionOption="true" />
<f:selectItem itemLabel="CONFUSED" itemValue="CONFUSED" />
<f:selectItem itemLabel="NOT VERIFIED" itemValue="NOTVERIFY" />
<f:selectItem itemLabel="VERIFIED" itemValue="VERIFIED" />
<f:selectItem itemLabel="Trạng thái" itemValue="#{null}" noSelectionOption="true" />
<f:selectItem itemLabel="Chưa xác định" itemValue="CONFUSED" />
<f:selectItem itemLabel="Chưa thẩm định" itemValue="NOTVERIFY" />
<f:selectItem itemLabel="Đã thẩm định" itemValue="VERIFIED" />
</p:selectOneMenu>
</f:facet>
<h:outputText value="CONFUSED" style="color: #343a40" rendered="#{realEstate.realEstateStatus == 'CONFUSED'}"/>
<h:outputText value="NOT VERIFIED" style="color: #ffcc00" rendered="#{realEstate.realEstateStatus == 'NOTVERIFY'}"/>
<h:outputText value="VERIFIED" style="color: #003fff" rendered="#{realEstate.realEstateStatus == 'VERIFIED'}"/>
<h:outputText value="Chưa xác định" style="color: #343a40" rendered="#{realEstate.realEstateStatus == 'CONFUSED'}"/>
<h:outputText value="Chưa thẩm định" style="color: #ffcc00" rendered="#{realEstate.realEstateStatus == 'NOTVERIFY'}"/>
<h:outputText value="Đã thẩm định" style="color: #003fff" rendered="#{realEstate.realEstateStatus == 'VERIFIED'}"/>
</p:column>
</p:dataTable>
</h:form>
Expand Down
4 changes: 2 additions & 2 deletions src/main/webapp/admin/listuser.xhtml
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@
<p:column filterBy="#{user.role}" filterMatchMode="exact" style="width: 10%;text-align:center">
<f:facet name="filter">
<p:selectOneMenu onchange="PF('table-user').filter()" styleClass="custom-filter">
<f:selectItem itemLabel="All Role" itemValue="#{null}" noSelectionOption="true" />
<f:selectItem itemLabel="Quyền" itemValue="#{null}" noSelectionOption="true" />
<f:selectItem itemLabel="ADMIN" itemValue="ADMIN" />
<f:selectItem itemLabel="CONTRIBUTOR" itemValue="USER" />
</p:selectOneMenu>
Expand All @@ -213,7 +213,7 @@
<p:column filterBy="#{user.userStatus}" filterMatchMode="exact" style="width: 10%;text-align:center">
<f:facet name="filter">
<p:selectOneMenu onchange="PF('table-user').filter()" styleClass="custom-filter">
<f:selectItem itemLabel="All Status" itemValue="#{null}" noSelectionOption="true" />
<f:selectItem itemLabel="Trạng thái" itemValue="#{null}" noSelectionOption="true" />
<f:selectItem itemLabel="Ban" itemValue="BAN" />
<f:selectItem itemLabel="Active" itemValue="ACTIVE" />
</p:selectOneMenu>
Expand Down
5 changes: 4 additions & 1 deletion src/main/webapp/admin/managecrawlrealestate.xhtml
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,12 @@
</p:column>
<p:column width="30%">
<f:facet name="header">Giá tiền</f:facet>
<h:outputText id="lbl-Price" value="#{element.realEstatePrice}">
<h:outputText id="lbl-Price" value="#{element.realEstatePrice}" rendered="#{element.realEstatePrice != '1'}">
<f:convertNumber maxFractionDigits="0" groupingUsed="true"></f:convertNumber>
</h:outputText>

<h:outputText id="lbl-Price-delegate" value="Thỏa thuận" rendered="#{element.realEstatePrice == '1'}">
</h:outputText>
</p:column>

<p:column style="text-align: center; font-size: 15px">
Expand Down

0 comments on commit e3bcb29

Please sign in to comment.