Skip to content

Commit

Permalink
Merge pull request #800 from apocist/master
Browse files Browse the repository at this point in the history
@stratusjs/idx 0.24.3 AgentDetails
  • Loading branch information
alexgurrola authored Oct 29, 2024
2 parents 8f2dab4 + 77e50ab commit b485e08
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 10 deletions.
2 changes: 2 additions & 0 deletions packages/angularjs-extras/src/filters/luxon.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
// Luxon Filter
// -----------------
// TODO add locale to change locale
// FIXME does not auto localize language currently (auto timezone, does but not language)

import {
Stratus
Expand Down
8 changes: 4 additions & 4 deletions packages/idx/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@stratusjs/idx",
"version": "0.24.2",
"version": "0.24.3",
"description": "AngularJS idx/property Service and Components bundle to be used as an add on to StratusJS",
"main": "./dist/idx.bundle.js",
"scripts": {
Expand Down Expand Up @@ -30,12 +30,12 @@
"npm": ">= 8.19.3"
},
"dependencies": {
"@stratusjs/angular": "^0.12.2",
"@stratusjs/angular": "^0.12.5",
"@stratusjs/angularjs": "^0.11.0",
"@stratusjs/angularjs-extras": "^0.16.0",
"@stratusjs/angularjs-extras": "^0.17.0",
"@stratusjs/boot": "^1.2.0",
"@stratusjs/map": "^0.6.6",
"@stratusjs/runtime": "^0.13.0",
"@stratusjs/runtime": "^0.14.1",
"@stratusjs/swiper": "^1.2.3"
}
}
12 changes: 6 additions & 6 deletions packages/idx/src/property/details.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -343,23 +343,23 @@ <h2 class="dotted-spaced-underline">More</h2>

<!-- Agent section (not advanced enough to process automatically yet) -->
<div class="property-details-sub-section"
data-ng-if="::getListAgentName() || getCoListAgentName() || getBuyerAgentName() || getCoBuyerAgentName()"
data-ng-if="::getListAgentName() || getCoListAgentName() || getBuyerAgentName() || getCoBuyerAgentName() || model.data.ListAgentStateLicense || model.data.CoListAgentStateLicense || model.data.BuyerAgentStateLicense || model.data.CoBuyerAgentStateLicense"
>
<div class="sub-detail-section" role="region" aria-label="Source Agents">
<strong class="section-name">Agent</strong>
<div class="sub-detail" data-ng-if="getListAgentName()" role="text">
<div class="sub-detail" data-ng-if="getListAgentName() || model.data.ListAgentStateLicense" role="text">
<span class="item-label">Listing Agent: </span>
<span data-ng-bind="::getListAgentName()" aria-label="List Agent NAme"></span><span data-ng-if="::model.data.ListAgentStateLicense"> (DRE# <span data-ng-bind="::model.data.ListAgentStateLicense" aria-label="List Agent State License"></span>)</span><span data-ng-if="::model.data.ListAgentKey && !model.data.ListAgentStateLicense"> (Agent # <span data-ng-bind="::model.data.ListAgentKey" aria-label="List Agent MLS Key"></span>)</span><span data-ng-if="::model.data.ListOfficeName">, <span data-ng-bind="::model.data.ListOfficeName" aria-label="List Office Name"></span></span>
<span data-ng-bind="::getListAgentName()" aria-label="List Agent Name"></span><span data-ng-if="::model.data.ListAgentStateLicense"> (DRE# <span data-ng-bind="::model.data.ListAgentStateLicense" aria-label="List Agent State License"></span>)</span><span data-ng-if="::model.data.ListAgentKey && !model.data.ListAgentStateLicense"> (Agent # <span data-ng-bind="::model.data.ListAgentKey" aria-label="List Agent MLS Key"></span>)</span><span data-ng-if="::model.data.ListOfficeName">, <span data-ng-bind="::model.data.ListOfficeName" aria-label="List Office Name"></span></span>
</div>
<div class="sub-detail" data-ng-if="getCoListAgentName()" role="text">
<div class="sub-detail" data-ng-if="getCoListAgentName() || model.data.CoListAgentStateLicense" role="text">
<span class="item-label">Co-Listing Agent: </span>
<span data-ng-bind="::getCoListAgentName()" aria-label="CoList Agent Name"></span><span data-ng-if="::model.data.CoListAgentStateLicense"> (DRE# <span data-ng-bind="::model.data.CoListAgentStateLicense" aria-label="CoList Agent State License"></span>)</span><span data-ng-if="::model.data.CoListAgentKey && !model.data.CoListAgentStateLicense"> (Agent # <span data-ng-bind="::model.data.CoListAgentKey" aria-label="CoList Agent MLS Key"></span>)</span><span data-ng-if="::model.data.CoListOfficeName">, <span data-ng-bind="::model.data.CoListOfficeName" aria-label="CoList Office Name"></span></span>
</div>
<div class="sub-detail" data-ng-if="getBuyerAgentName()" role="text">
<div class="sub-detail" data-ng-if="getBuyerAgentName() || model.data.BuyerAgentStateLicense" role="text">
<span class="item-label">Buyer Agent: </span>
<span data-ng-bind="::getBuyerAgentName()" aria-label="Buyer Agent Name"></span><span data-ng-if="::model.data.BuyerAgentStateLicense"> (DRE# <span data-ng-bind="::model.data.BuyerAgentStateLicense" aria-label="Buyer Agent State License"></span>)</span><span data-ng-if="::model.data.BuyerAgentKey && !model.data.BuyerAgentStateLicense"> (Agent # <span data-ng-bind="::model.data.BuyerAgentKey" aria-label="Buyer Agent MLS Key"></span>)</span><span data-ng-if="::model.data.BuyerOfficeName">, <span data-ng-bind="::model.data.BuyerOfficeName" aria-label="Buyer Office Name"></span></span>
</div>
<div class="sub-detail" data-ng-if="getCoBuyerAgentName()" role="text">
<div class="sub-detail" data-ng-if="getCoBuyerAgentName() || model.data.CoBuyerAgentStateLicense" role="text">
<span class="item-label">Co-Buyer Agent: </span>
<span data-ng-bind="::getCoBuyerAgentName()" aria-label="CoBuyer Agent Name"></span><span data-ng-if="::model.data.CoBuyerAgentStateLicense"> (DRE# <span data-ng-bind="::model.data.CoBuyerAgentStateLicense" aria-label="CoBuyer Agent State License"></span>)</span><span data-ng-if="::model.data.CoBuyerAgentKey && !model.data.CoBuyerAgentStateLicense"> (Agent # <span data-ng-bind="::model.data.CoBuyerAgentKey" aria-label="CoBuyer Agent MLS Key"></span>)</span><span data-ng-if="::model.data.CoBuyerOfficeName">, <span data-ng-bind="::model.data.CoBuyerOfficeName" aria-label="CoBuyer Office Name"></span></span>
</div>
Expand Down

0 comments on commit b485e08

Please sign in to comment.