houdini/app/views/nonprofits/supporters/_map_modal.html.erb
Bradley M. Kuhn 22adb4d5fd Relicense all .erb files under new project license.
The primary license of the project is changing to:
  AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later

with some specific files to be licensed under the one of two licenses:
   CC0-1.0
   LGPL-3.0-or-later

This commit is one of the many steps to relicense the entire codebase.

Documentation granting permission for this relicensing (from all past
contributors who hold copyrights) is on file with Software Freedom
Conservancy, Inc.
2018-03-25 15:10:40 -04:00

47 lines
No EOL
1.6 KiB
Text

<%- # License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later -%>
<div class='modal fullScreen' id='supportersMapModal'>
<header class='modal-header'>
<h4 class='modal-header-title'>Showing <!--= put map_data_count --> out of <!--= put supporters.total_count --> Supporters</h4>
<%= render 'common/modal_close' %>
</header>
<div class='modal-body'>
<section class='supportersMap group'>
<div class='legend'>
<!--= scope 'map_data' -->
<div>
<!--= hide_if map_data -->
<p>Click on a marker to see a supporter's details</p>
</div>
<div>
<!--= show_if map_data -->
<p><strong>Supporter Details</strong></p>
<p class='detail'>
<!--= show_if this.name -->
<i class='fa fa-user'></i> <!--= put this.name -->
</p>
<p class='detail'>
<!--= show_if this.phone -->
<i class='fa fa-phone'></i> <!--= put this.phone -->
</p>
<p class='detail'>
<!--= show_if this.email -->
<i>@</i> <!--= put this.email -->
</p>
<p class='detail'>
<!--= show_if this.total_raised -->
<i class='fa fa-dollar'></i> <!--= put this.total_raised -->
</p>
<p class='detail'>
<!--= show_if this.address -->
<i class='fa fa-home'></i> <!--= put this.address --> <!--= put this.city --> <!--= put this.state_code -->
</p>
<button class='button--micro u-marginY--10'>
More Details
<!--= on 'click' (supporter_details.toggle_panel this) -->
</button>
</div>
</div>
<div class='googleMap' id='googleMap'></div>
</section>
</div>
</div>