diff --git a/app/assets/javascripts/account/directives/my-application.html.slim b/app/assets/javascripts/account/directives/my-application.html.slim
index f3ae859366..a9328c95fb 100644
--- a/app/assets/javascripts/account/directives/my-application.html.slim
+++ b/app/assets/javascripts/account/directives/my-application.html.slim
@@ -8,7 +8,7 @@ article.feed-item.animated-fade ng-class="applicationStyle()" ng-hide="isDeleted
' {{listing.Application_Due_Date | date : "MMM d, yyyy" }}
section.feed-item-content
.feed-item-details
- p.feed-item-address
+ p.feed-item-address.skiptranslate
| {{formattedAddress()}}
p.feed-item-number(ng-if="::isSubmitted()" translate="MY_APPLICATIONS.YOUR_LOTTERY_NUMBER_IS" translate-value-lottery-number="{{::lotteryNumber()}}" translate-compile)
diff --git a/app/assets/javascripts/listings/components/browse-listings.html.slim b/app/assets/javascripts/listings/components/browse-listings.html.slim
index 40f4ff4465..75ff949ff0 100644
--- a/app/assets/javascripts/listings/components/browse-listings.html.slim
+++ b/app/assets/javascripts/listings/components/browse-listings.html.slim
@@ -53,7 +53,7 @@ section.results-section#listing-results ng-if="!$ctrl.parent.openListings.length
.has-eligibility-filters ng-if="$ctrl.parent.hasEligibilityFilters()"
/ No Matches Section Heading
- section.results-section.no-match.border-top ng-if="!$ctrl.openMatchListings.length"
+ section.results-section.no-match.border-top#listing-results ng-if="!$ctrl.openMatchListings.length"
/ Notification: No Matches based on Eligibility
.row
.large-12.columns
@@ -68,7 +68,7 @@ section.results-section#listing-results ng-if="!$ctrl.parent.openListings.length
.margin-top--2x ng-include="'listings/templates/_housing-counselor.html'"
/ Notification: Matched listings
- section.results-section.bg-dust ng-if="$ctrl.openMatchListings.length"
+ section.results-section.bg-dust#listing-results ng-if="$ctrl.openMatchListings.length"
.row
.large-12.columns
header.status-header.status--matched
diff --git a/app/assets/javascripts/listings/components/browseListings.js.coffee b/app/assets/javascripts/listings/components/browseListings.js.coffee
index 0d289ef84a..d5756bbce1 100644
--- a/app/assets/javascripts/listings/components/browseListings.js.coffee
+++ b/app/assets/javascripts/listings/components/browseListings.js.coffee
@@ -17,13 +17,16 @@ angular.module('dahlia.components')
IncomeCalculatorService.resetIncomeSources()
@headerText = () ->
- listingTypeTranslation = $translate.instant('LISTINGS.' + @tenureType.toUpperCase())
- interpolate = { listingsType: listingTypeTranslation }
- $translate.instant('LISTINGS.SHOWING_MATCHES_FOR', interpolate)
+ if @tenureType == 'sale'
+ $translate.instant('LISTINGS.SHOWING_MATCHES_FOR_SALE')
+ else if @tenureType == 'rental'
+ $translate.instant('LISTINGS.SHOWING_MATCHES_FOR_RENT')
@noMatchesLabel = () ->
- listingTypeTranslation = $translate.instant('LISTINGS.' + @tenureType.toUpperCase())
- $translate.instant('LISTINGS.YOU_DONT_MATCH_ANY', type: listingTypeTranslation)
+ if @tenureType == 'sale'
+ $translate.instant('LISTINGS.YOU_DONT_MATCH_ANY_SALE')
+ else if @tenureType == 'rental'
+ $translate.instant('LISTINGS.YOU_DONT_MATCH_ANY_RENT')
return ctrl
]
diff --git a/app/assets/javascripts/listings/components/listing/panel-apply.html.slim b/app/assets/javascripts/listings/components/listing/panel-apply.html.slim
index 44c4eb6f14..24af369ba0 100644
--- a/app/assets/javascripts/listings/components/listing/panel-apply.html.slim
+++ b/app/assets/javascripts/listings/components/listing/panel-apply.html.slim
@@ -42,12 +42,12 @@
| {{'LISTINGS.APPLY.INCLUDE_AN_ENVELOPE' | translate}}
/ Section 2a: Send by Mail
- .content-group.bg-snow.skiptranslate ng-if="::$ctrl.parent.listing.Accepting_applications_by_PO_Box" ng-class="{'has-divider': $ctrl.parent.listing.Accepting_applications_at_leasing_agent}"
+ .content-group.bg-snow ng-if="::$ctrl.parent.listing.Accepting_applications_by_PO_Box" ng-class="{'has-divider': $ctrl.parent.listing.Accepting_applications_at_leasing_agent}"
h3.content-group_title
| {{'LISTINGS.APPLY.SEND_BY_US_MAIL' | translate}}
- p.content-group_address.no-margin
+ p.content-group_address.no-margin.skiptranslate
| {{ ::$ctrl.parent.listing.Application_Organization}}
- p.content-group_address
+ p.content-group_address.skiptranslate
| {{ ::$ctrl.parent.listing.Application_Street_Address }}
br
| {{ ::$ctrl.parent.listing.Application_City }} {{ ::$ctrl.parent.listing.Application_State }} {{ ::$ctrl.parent.listing.Application_Postal_Code }}
diff --git a/app/assets/javascripts/listings/templates/_sale-header.html.slim b/app/assets/javascripts/listings/templates/_sale-header.html.slim
index 57c72c13b8..01b80ce7c3 100644
--- a/app/assets/javascripts/listings/templates/_sale-header.html.slim
+++ b/app/assets/javascripts/listings/templates/_sale-header.html.slim
@@ -1,4 +1,4 @@
-header.directory-header#listings_header ng-if="!$ctrl.parent.hasEligibilityFilters()"
+header.directory-header#listings_header
.row
.directory-header_title.medium-7.columns
h1 translate="PAGE_TITLE.BUY"
diff --git a/app/assets/json/translations/locale-en.json b/app/assets/json/translations/locale-en.json
index 3db89f7011..8f466add23 100644
--- a/app/assets/json/translations/locale-en.json
+++ b/app/assets/json/translations/locale-en.json
@@ -697,9 +697,9 @@
"INCLUDES_PRIORITY_UNITS": "Includes Priority Units for {{priorities}}",
"INCOME_EXCEPTIONS": {
"INTRO": "People in your household may need special income calculations if they:",
- "STUDENTS": "Are full-time students (but not the primary applicant)",
"NONTAXABLE": "Receive non-taxable income",
- "NONTAXABLE_TOOLTIP": "Non-taxable income might include SSI, SSDI, child support payments, and worker’s compensation benefits."
+ "NONTAXABLE_TOOLTIP": "Non-taxable income might include SSI, SSDI, child support payments, and worker’s compensation benefits.",
+ "STUDENTS": "Are full-time students (but not the primary applicant)"
},
"LOTTERY_RESULTS": {
"HIDE": "Hide Lottery Results",
@@ -714,9 +714,9 @@
"NO_OPEN_LISTINGS": "No listings currently have open applications.",
"OCCUPANCY_DESCRIPTION_ALL_SRO": "Occupancy for this building is limited to 1 person per unit.",
"OCCUPANCY_DESCRIPTION_ALL_SRO_PLURAL": "Occupancy for this building is limited to {{numberOfPeople}} people per unit.",
+ "OCCUPANCY_DESCRIPTION_MIN_ONE": "A minimum of one person per bedroom is required.",
"OCCUPANCY_DESCRIPTION_NO_SRO": "Occupancy limits for this building differ from household size, and do not include children under 6.",
"OCCUPANCY_DESCRIPTION_SOME_SRO": "Occupancy for this building varies by unit type. SROs are limited to 1 person per unit, regardless of age. For all other unit types, occupancy limits do not count children under 6.",
- "OCCUPANCY_DESCRIPTION_MIN_ONE": "A minimum of one person per bedroom is required.",
"OPEN_WAITLIST": "Open Waitlist",
"OPEN_WAITLIST_SLOTS": "Open Waitlist Slots",
"PEOPLE": "people",
@@ -729,7 +729,6 @@
"REALTOR_COMMISSION_NOT_ELIGIBLE": "Your realtor is not eligible for a commission on this unit",
"REALTOR_COMMISSION_PERCENTAGE": " {{percentage}}% of the sales price",
"REMAINING_UNITS_AFTER_PREFERENCE_CONSIDERATION": "After all preference holders have been considered, any remaining units will be available to qualified applicants in lottery order.",
- "RENTAL": "rent",
"REQUIRED_DOCUMENTS": "Required Documents",
"REQUIRED_DOCUMENTS_AFTER_APPLYING": "Should your application be chosen from the lottery, be prepared to fill out a more detailed application and provide required supporting documents within 5 business days of being contacted.",
"RESERVED_COMMUNITY_BUILDING": "{{type}} Building",
@@ -737,12 +736,12 @@
"RESERVED_UNITS": "Reserved Units",
"RESERVED_UNITS_DESCRIPTION": "In order to qualify for these units one of the following must apply to you or someone in your household:",
"RESERVED_UNITS_FOR_WHO_ARE": "Reserved for {{communityType}} who are {{reservedType}}",
- "SALE": "sale",
"RE_PRICING": "Resale Price Restrictions",
"SEE_MAXIMUM_INCOME_INFORMATION": "See Maximum Income Information",
"SEE_PREFERENCE_INFORMATION": "See Preference Information",
"SEE_UNIT_INFORMATION": "See Unit Information",
- "SHOWING_MATCHES_FOR": "Showing matching units for {{listingsType}}",
+ "SHOWING_MATCHES_FOR_RENT": "Showing matching units for rent",
+ "SHOWING_MATCHES_FOR_SALE": "Showing matching units for sale",
"SINGLE_ROOM_OCCUPANCY": "Single Room Occupancy",
"SINGLE_ROOM_OCCUPANCY_DESCRIPTION": "This property offers single rooms for one person only. Tenants may share bathrooms, and sometimes kitchen facilities.",
"SPECIAL_NOTES": "Special Notes",
@@ -757,7 +756,8 @@
},
"VIEW_LOTTERY_RESULTS": "View Lottery Results",
"WAITLIST_IS_OPEN": "Waitlist is open",
- "YOU_DONT_MATCH_ANY": "Based on information you entered, you don't match any current listings for {{type}}.",
+ "YOU_DONT_MATCH_ANY_RENT": "Based on information you entered, you don't match any current listings for rent.",
+ "YOU_DONT_MATCH_ANY_SALE": "Based on information you entered, you don't match any current listings for sale.",
"YOU_MAY_BE_ELIGIBLE": "Based on information you entered, you may be eligible for units at the following property."
},
"LISTINGS_FOR_RENT": {