Skip to content

Commit

Permalink
Merge pull request #471 from bmlt-enabled/Open-Google-Directions-in-n…
Browse files Browse the repository at this point in the history
…ew-tab

Fix for Wix
  • Loading branch information
otrok7 authored Mar 22, 2024
2 parents 3c73bdf + dc3da77 commit c4d301f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion crouton.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Description: A tabbed based display for showing meeting information.
Author: bmlt-enabled
Author URI: https://bmlt.app
Version: 3.18.8
Version: 3.18.9
*/
/* Disallow direct access to the plugin file */
if (basename($_SERVER['PHP_SELF']) == basename(__FILE__)) {
Expand Down
2 changes: 1 addition & 1 deletion croutonjs/src/js/crouton-default-templates.js
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ var croutonDefaultTemplates = {
<div class="location-text">{{{this.location_text}}}</div>
<div class="meeting-address">{{this.formatted_address}}</div>
<div class="location-information">{{{this.formatted_location_info}}}</div>
<a href="https://www.google.com/maps/dir/?api=1&destination={{this.latitude}}%2C{{this.longitude}}" class="bootstrap-bmlt" ><div class="btn btn-primary bmlt-xs get-directions"><span class="glyphicon glyphicon-road"></span> {{getWord "google_directions"}}</div></a>
<a target="_blank" href="https://www.google.com/maps/dir/?api=1&destination={{this.latitude}}%2C{{this.longitude}}" class="bootstrap-bmlt" ><div class="btn btn-primary bmlt-xs get-directions"><span class="glyphicon glyphicon-road"></span> {{getWord "google_directions"}}</div></a>
<br/>
{{/isInPersonOrHybrid}}
{{#isVirtualOrHybrid this}}
Expand Down
5 changes: 4 additions & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Tags: na, meeting list, meeting finder, maps, recovery, addiction, webservant, b
Requires at least: 4.0
Required PHP: 8.0
Tested up to: 6.4.2
Stable tag: 3.18.8
Stable tag: 3.18.9
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
crouton implements a Tabbed UI for BMLT.
Expand Down Expand Up @@ -36,6 +36,9 @@ https://demo.bmlt.app/crouton

== Changelog ==

= 3.18.9 =
* Open Google Directions in a new tab

= 3.18.8 =
* Prevent wheelchair icon from confusing screen readers

Expand Down

0 comments on commit c4d301f

Please sign in to comment.