Dynamic pages, language switcher and fix schedule drag drop time mismatch bug

This commit is contained in:
2015-02-21 15:05:45 +01:00
parent e60955130a
commit c8109c8ad6
29 changed files with 163 additions and 40 deletions
@@ -25,6 +25,7 @@ String.prototype.capitalize = function() { return this.charAt(0).toUpperCase() +
window.time_zones = <%= ActiveSupport::TimeZone.all.map{|tz| {name: tz.name, formatted: "GMT#{tz.formatted_offset} #{tz.name}"}}.to_json.html_safe %>;
window.countries = <%= IsoCountryCodes.all.map{|cc| {name: cc.name}}.to_json.html_safe %>;
var path_mapping = {
user_root: '/user',
join_occupied_table: '/user/join_occupied_table',