Skip to content

Commit

Permalink
Merge pull request #509 from bmlt-enabled/feature/fix-edit-button-class
Browse files Browse the repository at this point in the history
Feature/fix edit button class
  • Loading branch information
otrok7 authored Dec 5, 2024
2 parents 509bb73 + 912f932 commit 79db806
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.20.7
Version: 3.20.8
*/
/* Disallow direct access to the plugin file */
if (basename($_SERVER['PHP_SELF']) == basename(__FILE__)) {
Expand Down
2 changes: 1 addition & 1 deletion croutonjs/src/templates/meetings.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
<a href="javascript:void(0);" id="share-button" class="btn btn-primary btn-xs" onclick='navigator.share({ text: JSON.stringify("{{this.formatted_day}} {{this.start_time_formatted}} - {{this.end_time_formatted}} {{this.meeting_name}} {{this.location_text}} {{this.formatted_address}} {{this.formatted_location_info}}{{#if this.virtual_meeting_additional_info}} {{this.virtual_meeting_additional_info}}{{/if}}"), url: "{{#isVirtualOrHybrid this}}{{#if this.virtual_meeting_link}}{{this.virtual_meeting_link}}{{/if}}{{#if this.phone_meeting_number}}{{this.phone_meeting_number}}{{/if}}{{/isVirtualOrHybrid}}{{#isInPersonOrHybrid this}} https://www.google.com/maps/search/?api=1&amp;query={{this.latitude}},{{this.longitude}}&amp;q={{this.latitude}},{{this.longitude}}{{/isInPersonOrHybrid}}"})'><span class="glyphicon glyphicon-share"></span> {{this.share_word}}</a>
{{/canShare}}
{{#reportUpdateEnabled this}}
<a href="{{ reportUpdateUrl }}?meeting_id={{this.id_bigint}}" id="share-button" class="btn btn-primary btn-xs" target="_blank"><span class="glyphicon glyphicon-edit"></span> {{this.report_update_word}}</a>
<a href="{{ reportUpdateUrl }}?meeting_id={{this.id_bigint}}" id="share-button" class="btn btn-primary btn-xs edit-button" target="_blank"><span class="glyphicon glyphicon-edit"></span> {{this.report_update_word}}</a>
{{/reportUpdateEnabled}}
{{> offerIcsButton}}
</td>
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.6.2
Stable tag: 3.20.7
Stable tag: 3.20.8
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.20.8 =
* Add a class for edit button.

= 3.20.7 =
* Assure "Fetching" message is deleted.
* Remove unnecessary call to root server.
Expand Down

0 comments on commit 79db806

Please sign in to comment.