Skip to content
This repository was archived by the owner on May 16, 2019. It is now read-only.

Commit f4f2f2e

Browse files
committed
Removes the timezones from the client.
- timezones where not used for anything -
1 parent 6bc461e commit f4f2f2e

File tree

6 files changed

+56
-312
lines changed

6 files changed

+56
-312
lines changed

js/languages/en-US.json

Lines changed: 0 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -710,39 +710,6 @@
710710
},
711711
"langChangeRestartTitle": "Restart needed for language change",
712712
"langChangeRestartMessage": "In order for your language change to fully take effect, you must restart the app.",
713-
"timezones": {
714-
"-12": "(GMT -12:00) Eniwetok, Kwajalein",
715-
"-11": "(GMT -11:00) Midway Island, Samoa",
716-
"-10": "(GMT -10:00) Hawaii",
717-
"-9": "(GMT -9:00) Alaska",
718-
"-8": "(GMT -8:00) Pacific Time (US & Canada)",
719-
"-7": "(GMT -7:00) Mountain Time (US & Canada)",
720-
"-6": "(GMT -6:00) Central Time (US & Canada), Mexico City",
721-
"-5": "(GMT -5:00) Eastern Time (US & Canada), Bogota, Lima",
722-
"-4": "(GMT -4:00) Atlantic Time (Canada), Caracas, La Paz",
723-
"-3.5": "(GMT -3:30) Newfoundland",
724-
"-3": "(GMT -3:00) Brazil, Buenos Aires, Georgetown",
725-
"-2": "(GMT -2:00) Mid-Atlantic",
726-
"-1": "(GMT -1:00) Azores, Cape Verde Islands",
727-
"0": "(GMT) Western Europe Time, London, Lisbon, Casablanca",
728-
"1": "(GMT +1:00) Brussels, Copenhagen, Madrid, Paris",
729-
"2": "(GMT +2:00) Kaliningrad, South Africa",
730-
"3": "(GMT +3:00) Baghdad, Riyadh, Moscow, St. Petersburg",
731-
"3.5": "(GMT +3:30) Tehran",
732-
"4": "(GMT +4:00) Abu Dhabi, Muscat, Baku, Tbilisi",
733-
"4.5": "(GMT +4:30) Kabul",
734-
"5": "(GMT +5:00) Ekaterinburg, Islamabad, Karachi, Tashkent",
735-
"5.5": "(GMT +5:30) Bombay, Calcutta, Madras, New Delhi",
736-
"5.75": "(GMT +5:45) Kathmandu",
737-
"6": "(GMT +6:00) Almaty, Dhaka, Colombo",
738-
"7": "(GMT +7:00) Bangkok, Hanoi, Jakarta",
739-
"8": "(GMT +8:00) Beijing, Perth, Singapore, Hong Kong",
740-
"9": "(GMT +9:00) Tokyo, Seoul, Osaka, Sapporo, Yakutsk",
741-
"9.5": "(GMT +9:30) Adelaide, Darwin",
742-
"10": "(GMT +10:00) Eastern Australia, Guam, Vladivostok",
743-
"11": "(GMT +11:00) Magadan, Solomon Islands, New Caledonia",
744-
"12": "(GMT +12:00) Auckland, Wellington, Fiji, Kamchatka"
745-
},
746713
"countries": {
747714
"AFGHANISTAN": "Afghanistan",
748715
"ALAND_ISLANDS": "Aland Islands",

js/models/timezonesMd.js

Lines changed: 0 additions & 134 deletions
This file was deleted.

js/templates/onboardingModal.html

Lines changed: 0 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -97,39 +97,6 @@
9797
</div>
9898
</div>
9999
</div>
100-
<div class="accordion-child accordion-inactive custCol-primary">
101-
<div class="bar barTxt h6 custCol-secondary custCol-text">
102-
<%= polyglot.t('onboarding.timeZone') %>
103-
<span class="textOpacity75 fontSize14 floatRight">5 <%= polyglot.t('of') %> 10</span>
104-
</div>
105-
<div class="flexContainer flex-border" id="homeModal-timeList">
106-
<div class="flexRow">
107-
<div class="txtFieldWrapper txtFieldWrapper-bar searchWrapper custCol-border">
108-
<input type="text" class="search txtField txtField-bar custCol-primary custCol-border custCol-text" placeholder="<%= polyglot.t('onboarding.TimezonePlaceholder') %>" />
109-
</div>
110-
</div>
111-
<ul class="flexRow list js-homeModal-listParent js-homeModal-timeZoneList homeModal-settings scrollOverflowY custCol-primary custCol-text customThemeScrollbar">
112-
<% ob.timezones.forEach((tz) => { %>
113-
<li class="flexRow custCol-border">
114-
<div class="rowItem js-homeModal-timeSelect paddingLeft6">
115-
<input type="radio" class="fieldItem" id="<%= tz.name %>" name="time_zone" value="<%= tz.offset %>">
116-
<label class="homeModal-time radioLabel" for="<%= tz.name %>"><%= polyglot.t('timezones.' + tz.offset) %></label>
117-
</div>
118-
</li>
119-
<% }) %>
120-
</ul>
121-
</div>
122-
<div class="bar barFlush borderBottomLeftRaidus3 borderBottomRightRaidus3">
123-
<a class="btn btn-bar btn-half js-accordionPrev custCol-secondary custCol-border-primary borderBottomLeftRaidus3 custCol-text borderRight" tabIndex="0">
124-
<span class="ion-chevron-left fontSize10 marginRight2 textOpacity75"></span>
125-
<%= polyglot.t('Back') %>
126-
</a>
127-
<a class="btn btn-bar btn-half js-accordionNext custCol-secondary custCol-border-primary borderBottomRightRaidus3 custCol-text" tabIndex="0">
128-
<%= polyglot.t('Next') %>
129-
<span class="ion-chevron-right fontSize10 marginLeft2 textOpacity75"></span>
130-
</a>
131-
</div>
132-
</div>
133100
<div class="accordion-child accordion-inactive custCol-primary">
134101
<div class="bar barTxt h6 custCol-secondary custCol-text">
135102
<%= polyglot.t('onboarding.yourDetails') %> (<%= polyglot.t('Optional') %>)

js/templates/settings.html

Lines changed: 16 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -123,26 +123,6 @@ <h3 class="padding15 margin0 fontWeight500"><%= polyglot.t('General') %></h3>
123123

124124
</div>
125125

126-
<div class="flexRow overflowVisible">
127-
128-
<div class="flexCol-3 borderRight custCol-border">
129-
<div class="fieldItem">
130-
<label for="time_zone">
131-
<%= polyglot.t('TimeZone') %>
132-
</label>
133-
</div>
134-
</div>
135-
136-
<div class="flexCol-9 borderRight0 custCol-border">
137-
<div class="fieldItem padding0">
138-
<div class="fieldItem-selectWrapper chosen-relative noIcon">
139-
<select name="time_zone" class="chosen" id="time_zone">
140-
</select>
141-
</div>
142-
</div>
143-
</div>
144-
</div>
145-
146126
<div class="flexRow">
147127
<div class="flexCol-3 borderRight custCol-border">
148128
<div class="fieldItem">
@@ -490,11 +470,11 @@ <h3 class="padding15 margin0 fontWeight500"><%= polyglot.t('Theme') %></h3>
490470
<label for="settings-theme-1" class="radioLabel">
491471
<div class="theme-background" style="background: #5E3E36">
492472
<div class="theme-global-header" style="background: #cc504b"></div>
493-
<div class="theme-header" style="background: url(imgs/themes/1/header-thumbnail.png); background-size: cover"></div>
473+
<div class="theme-header" style="background: url(imgs/themes/1/header-thumbnail.png); background-size: cover"></div>
494474
<div class="theme-nav" style="background: #cc504b">
495475
<div class="theme-tab" style="background: #ba4a3f"></div>
496476
</div>
497-
<div class="theme-body" style="background: #ba4a3f"></div>
477+
<div class="theme-body" style="background: #ba4a3f"></div>
498478
</div>
499479
</label>
500480
</div>
@@ -510,11 +490,11 @@ <h3 class="padding15 margin0 fontWeight500"><%= polyglot.t('Theme') %></h3>
510490
<label for="settings-theme-2" class="radioLabel">
511491
<div class="theme-background" style="background: #B2B2B2">
512492
<div class="theme-global-header" style="background: #E6E6E6"></div>
513-
<div class="theme-header" style="background: url(imgs/themes/2/header-thumbnail.png); background-size: cover"></div>
493+
<div class="theme-header" style="background: url(imgs/themes/2/header-thumbnail.png); background-size: cover"></div>
514494
<div class="theme-nav" style="background: #E6E6E6">
515-
<div class="theme-tab" style="background: #ffffff"></div>
495+
<div class="theme-tab" style="background: #ffffff"></div>
516496
</div>
517-
<div class="theme-body" style="background: #ffffff"></div>
497+
<div class="theme-body" style="background: #ffffff"></div>
518498
</div>
519499
</label>
520500
</div>
@@ -530,11 +510,11 @@ <h3 class="padding15 margin0 fontWeight500"><%= polyglot.t('Theme') %></h3>
530510
<label for="settings-theme-3" class="radioLabel">
531511
<div class="theme-background" style="background: #1d1d25">
532512
<div class="theme-global-header" style="background: #353443"></div>
533-
<div class="theme-header" style="background: url(imgs/themes/3/header-thumbnail.png); background-size: cover"></div>
513+
<div class="theme-header" style="background: url(imgs/themes/3/header-thumbnail.png); background-size: cover"></div>
534514
<div class="theme-nav" style="background: #353443">
535515
<div class="theme-tab" style="background: #474559"></div>
536516
</div>
537-
<div class="theme-body" style="background: #474559"></div>
517+
<div class="theme-body" style="background: #474559"></div>
538518
</div>
539519
</label>
540520
</div>
@@ -544,11 +524,11 @@ <h3 class="padding15 margin0 fontWeight500"><%= polyglot.t('Theme') %></h3>
544524
<label for="settings-theme-4" class="radioLabel">
545525
<div class="theme-background" style="background: #3d413b">
546526
<div class="theme-global-header" style="background: #6e776b"></div>
547-
<div class="theme-header" style="background: url(imgs/themes/4/header-thumbnail.png); background-size: cover"></div>
527+
<div class="theme-header" style="background: url(imgs/themes/4/header-thumbnail.png); background-size: cover"></div>
548528
<div class="theme-nav" style="background: #6e776b">
549529
<div class="theme-tab" style="background: #929e8e"></div>
550530
</div>
551-
<div class="theme-body" style="background: #929e8e"></div>
531+
<div class="theme-body" style="background: #929e8e"></div>
552532
</div>
553533
</label>
554534
</div>
@@ -558,11 +538,11 @@ <h3 class="padding15 margin0 fontWeight500"><%= polyglot.t('Theme') %></h3>
558538
<label for="settings-theme-5" class="radioLabel">
559539
<div class="theme-background" style="background: #1c2b3a">
560540
<div class="theme-global-header" style="background: #334e6a"></div>
561-
<div class="theme-header" style="background: url(imgs/themes/5/header-thumbnail.png); background-size: cover"></div>
541+
<div class="theme-header" style="background: url(imgs/themes/5/header-thumbnail.png); background-size: cover"></div>
562542
<div class="theme-nav" style="background: #334e6a">
563543
<div class="theme-tab" style="background: #41658a"></div>
564544
</div>
565-
<div class="theme-body" style="background: #41658a"></div>
545+
<div class="theme-body" style="background: #41658a"></div>
566546
</div>
567547
</label>
568548
</div>
@@ -572,11 +552,11 @@ <h3 class="padding15 margin0 fontWeight500"><%= polyglot.t('Theme') %></h3>
572552
<label for="settings-theme-6" class="radioLabel">
573553
<div class="theme-background" style="background: #141414">
574554
<div class="theme-global-header" style="background: #1B1B1B"></div>
575-
<div class="theme-header" style="background: url(imgs/themes/6/header-thumbnail.png); background-size: cover"></div>
555+
<div class="theme-header" style="background: url(imgs/themes/6/header-thumbnail.png); background-size: cover"></div>
576556
<div class="theme-nav" style="background: #1B1B1B">
577557
<div class="theme-tab" style="background: #252525"></div>
578558
</div>
579-
<div class="theme-body" style="background: #252525"></div>
559+
<div class="theme-body" style="background: #252525"></div>
580560
</div>
581561
</label>
582562
</div>
@@ -1218,7 +1198,7 @@ <h3 class="padding15 margin0 fontWeight500"><%= polyglot.t('Advanced') %></h3>
12181198
</div>
12191199
</div>
12201200
</div>
1221-
1201+
12221202
<div class="flexRow">
12231203
<div class="flexCol-3 borderRight custCol-border">
12241204
<div class="fieldItem">
@@ -1247,7 +1227,7 @@ <h3 class="padding15 margin0 fontWeight500"><%= polyglot.t('Advanced') %></h3>
12471227
</label>
12481228
<i class="ion-help-circled tooltip tooltip-box" data-tooltip="<%= polyglot.t('AppBarStyleInfo') %>"></i>
12491229
</div>
1250-
</div>
1230+
</div>
12511231

12521232
<div class="flexCol-9 borderRight0 custCol-border">
12531233
<div class="fieldItem">
@@ -1257,7 +1237,7 @@ <h3 class="padding15 margin0 fontWeight500"><%= polyglot.t('Advanced') %></h3>
12571237
<label for="app_bar_style_mac" class="radioLabel"><%= polyglot.t('OSMac') %></label>
12581238
</div>
12591239
</div>
1260-
</div>
1240+
</div>
12611241

12621242
<div class="flexRow">
12631243

0 commit comments

Comments
 (0)