Plugin Directory

Changeset 1929713


Ignore:
Timestamp:
08/24/2018 12:52:18 PM (8 years ago)
Author:
martindrapeau
Message:

Standings

  • Rankings have become standings
  • Multiple improvements
  • Bug fixes
Location:
amilia-store/trunk
Files:
2 added
3 deleted
2 edited

Legend:

Unmodified
Added
Removed
  • amilia-store/trunk/amilia-store-calendar.php

    r1929097 r1929713  
    131131        }
    132132        function getShortNameOfActivity(name) {
    133             var match = name.match(/\b([A-Z][A-Z0-9 ]+)\b/);
     133            var match = name.match(/\b([A-Z][A-Z][A-Z0-9 _-]+)\b/);
    134134            return match && match.length >= 1 ? match[0].trim() : null;
    135135        }
  • amilia-store/trunk/amilia-store.php

    r1929097 r1929713  
    66Author: Martin Drapeau <martin.drapeau@amilia.com>
    77Copyright: 2014-2017 Amilia
    8 Version: 2.5.5
     8Version: 2.5.6
    99Author URI: http://www.amilia.com/
    1010License: Apache License 2.0
     
    9898            "col-SubCategoryName" => __("Sub-category", 'amilia-store'),
    9999
    100             "rankings-title" => __("Team score rankings for activities in Amilia (experimental)", 'amilia-store'),
    101             "rankings-instructions-p1" => __("This is an experimental feature and works in conjunction with score and attendance tracking (https://lab.amilia.com/attendance).", 'amilia-store'),
    102             "rankings-instructions-p2" => __("Choose the program in which you have activities representing teams (1 activity = 1 team).", 'amilia-store'),
    103             "rankings-instructions-p3" => __("You can optionally filter activities shown by tags allowing you to exclude activities which are not teams.", 'amilia-store'),
     100            "standings-title" => __("Team score standings for activities in Amilia (experimental)", 'amilia-store'),
     101            "standings-instructions-p1" => __("This is an experimental feature and works in conjunction with score and attendance tracking (https://lab.amilia.com/attendance).", 'amilia-store'),
     102            "standings-instructions-p2" => __("Choose the program in which you have activities representing teams (1 activity = 1 team).", 'amilia-store'),
     103            "standings-instructions-p3" => __("You can optionally filter activities shown by tags allowing you to exclude activities which are not teams.", 'amilia-store'),
    104104            "select-program" => __("Select a program", 'amilia-store'),
    105105
     
    166166    $plugin_array['amilia_store_button'] = plugins_url('amilia-store-button.js', __FILE__);
    167167    $plugin_array['amilia_store_calendar'] = plugins_url('amilia-store-calendar.js', __FILE__);
    168     $plugin_array['amilia_store_rankings'] = plugins_url('amilia-store-rankings.js', __FILE__);
     168    $plugin_array['amilia_store_standings'] = plugins_url('amilia-store-standings.js', __FILE__);
    169169    return $plugin_array;
    170170}
     
    174174    array_push($buttons, 'amilia_store_button');
    175175    array_push($buttons, 'amilia_store_calendar');
    176     array_push($buttons, 'amilia_store_rankings');
     176    array_push($buttons, 'amilia_store_standings');
    177177    return $buttons;
    178178}
     
    191191include "amilia-store-table.php";
    192192include "amilia-store-calendar.php";
    193 include "amilia-store-rankings.php";
     193include "amilia-store-standings.php";
    194194
    195195?>
Note: See TracChangeset for help on using the changeset viewer.