Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

moved link to map page to jumbotron #4

Merged
merged 1 commit into from
Jun 11, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion LandlordDetails.js
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ document.addEventListener("DOMContentLoaded", function (event) {
// Set the landlord name
document.getElementById('landlord-name').innerHTML = landlord.name;
// SET INFORMATION SECTION
document.getElementById('view-properties-on-map').href = "map.html?type='landlord'&value='" + landlord.name + "'";
document.getElementById('view-properties-on-map').href = "map.html?type='landlord'&value='" + landlord.id + "'";
// SET properties LIST
// SET reviews LIST

Expand Down
14 changes: 7 additions & 7 deletions PropertyDetails.html
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,15 @@
<div class="col-sm-3 my-auto">
<img id="logo" src="wolfe_and_associates.png">
</div>
<div class="col-sm-9 my-auto">
<div class="col-sm-7 my-auto">
<h1 id="property-name"></h1>
</div>
<div class="col-sm-2 my-auto" style="text-align: center">
<a href="map.html" title="View Properties on Map" rel="nofollow" id="view-properties-on-map"><i
class="fa fa-3x fa-map landlord-icon"></i>
<div class="icon-text">View Property on Map</div>
</a>
</div>
</div>
</div>

Expand Down Expand Up @@ -96,12 +102,6 @@ <h2 id="unit-num" style="margin-top: 3%">Unit 19</h2>
</div>
</div>
</div>
<div class="col-sm-2 my-auto" style="text-align: center">
<a href="map.html" title="View Properties on Map" rel="nofollow" id="view-properties-on-map"><i
class="fa fa-3x fa-map landlord-icon"></i>
<div class="icon-text">View Property on Map</div>
</a>
</div>
</div>
</div>
</div>
Expand Down