Changeset 1929713
- Timestamp:
- 08/24/2018 12:52:18 PM (8 years ago)
- Location:
- amilia-store/trunk
- Files:
-
- 2 added
- 3 deleted
- 2 edited
-
amilia-store-calendar.php (modified) (1 diff)
-
amilia-store-rankings.js (deleted)
-
amilia-store-rankings.php (deleted)
-
amilia-store-standings.js (added)
-
amilia-store.php (modified) (5 diffs)
-
images/rankings.svg (deleted)
-
images/standings.svg (added)
Legend:
- Unmodified
- Added
- Removed
-
amilia-store/trunk/amilia-store-calendar.php
r1929097 r1929713 131 131 } 132 132 function getShortNameOfActivity(name) { 133 var match = name.match(/\b([A-Z][A-Z 0-9]+)\b/);133 var match = name.match(/\b([A-Z][A-Z][A-Z0-9 _-]+)\b/); 134 134 return match && match.length >= 1 ? match[0].trim() : null; 135 135 } -
amilia-store/trunk/amilia-store.php
r1929097 r1929713 6 6 Author: Martin Drapeau <martin.drapeau@amilia.com> 7 7 Copyright: 2014-2017 Amilia 8 Version: 2.5. 58 Version: 2.5.6 9 9 Author URI: http://www.amilia.com/ 10 10 License: Apache License 2.0 … … 98 98 "col-SubCategoryName" => __("Sub-category", 'amilia-store'), 99 99 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'), 104 104 "select-program" => __("Select a program", 'amilia-store'), 105 105 … … 166 166 $plugin_array['amilia_store_button'] = plugins_url('amilia-store-button.js', __FILE__); 167 167 $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__); 169 169 return $plugin_array; 170 170 } … … 174 174 array_push($buttons, 'amilia_store_button'); 175 175 array_push($buttons, 'amilia_store_calendar'); 176 array_push($buttons, 'amilia_store_ rankings');176 array_push($buttons, 'amilia_store_standings'); 177 177 return $buttons; 178 178 } … … 191 191 include "amilia-store-table.php"; 192 192 include "amilia-store-calendar.php"; 193 include "amilia-store- rankings.php";193 include "amilia-store-standings.php"; 194 194 195 195 ?>
Note: See TracChangeset
for help on using the changeset viewer.