Skip to content

Commit f9cfd44

Browse files
committed
Merge branch 'release/1.0.13'
2 parents 7787c5e + 1c9b91e commit f9cfd44

13 files changed

Lines changed: 282 additions & 35 deletions

File tree

app/components/isp-consent-form/consentText.js

Lines changed: 20 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/components/language-picker/countries.js

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -649,20 +649,6 @@ export default [
649649
],
650650
"name": "Ukraine"
651651
},
652-
{
653-
"code": "AE",
654-
"languages": [
655-
{
656-
"code": "en-AE",
657-
"name": "English"
658-
},
659-
{
660-
"code": "ar-AE",
661-
"name": "العربية"
662-
}
663-
],
664-
"name": "United Arab Emirates"
665-
},
666652
{
667653
"code": "GB",
668654
"languages": [

app/routes/manage/who-completed.js

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,25 @@ export default Ember.Route.extend(AuthenticatedRouteMixin, {
1919
query['filter[extra.studyId]'] = params.siteId;
2020
}
2121
return this.store.queryEverything('account', query);
22+
},
23+
24+
actions: {
25+
26+
// Override Embers queryParamsDidChange function, and make a few modifications.
27+
// The initial function uses 'this.refresh' which will call multiple times, causing transition aborts
28+
// Replacing with nesting the call in a Ember.run.once fixes this
29+
queryParamsDidChange(changed, totalPresent, removed){
30+
//queryParams map
31+
var qpMap = this.get('_qp').map;
32+
var totalChanged = Object.keys(changed).concat(Object.keys(removed));
33+
for (var i = 0; i < totalChanged.length; ++i){
34+
var qp = qpMap[totalChanged[i]];
35+
// the this.router.currentState variable causes a page refresh to fail this check. Prevents a failed promise.
36+
if (qp && this._optionsForQueryParam(qp).refreshModel && this.router.currentState) {
37+
Ember.run.once(this, this.refresh);
38+
}
39+
}
40+
return true;
41+
},
2242
}
2343
});

app/styles/app.scss

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,4 +77,11 @@
7777

7878
.supported-browser {
7979
width: 1.5em;
80+
81+
}
82+
.fa-check-square-o {
83+
color: #008000;
84+
}
85+
.fa-times {
86+
color:#FF0000;
8087
}

app/templates/participate/login.hbs

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -39,18 +39,18 @@
3939
The International Situations Project does not support Internet Explorer. If you are using Internet Explorer, please switch to another browser.
4040
</p>
4141
<p>
42-
<i class="supported-browser fa fa-times" aria-hidden="true"></i>
43-
<i class="supported-browser fa fa-check-square-o" aria-hidden="true"></i>
44-
<i class="supported-browser fa fa-check-square-o" aria-hidden="true"></i>
45-
<i class="supported-browser fa fa-check-square-o" aria-hidden="true"></i>
46-
<i class="supported-browser fa fa-check-square-o" aria-hidden="true"></i>
42+
<i class="supported-browser fa fa-2x fa-times" aria-hidden="true"></i>
43+
<i class="supported-browser fa fa-2x fa-check-square-o" aria-hidden="true"></i>
44+
<i class="supported-browser fa fa-2x fa-check-square-o" aria-hidden="true"></i>
45+
<i class="supported-browser fa fa-2x fa-check-square-o" aria-hidden="true"></i>
46+
<i class="supported-browser fa fa-2x fa-check-square-o" aria-hidden="true"></i>
4747
</p>
4848
<p>
49-
<i class="supported-browser fa fa-internet-explorer" title="Internet explorer (not supported)" aria-label="Internet explorer (not supported)"></i>
50-
<i class="supported-browser fa fa-safari" title="Safari (supported)" aria-label="Safari (supported)"></i>
51-
<i class="supported-browser fa fa-firefox" title="Firefox (supported)" aria-label="Firefox (supported)"></i>
52-
<i class="supported-browser fa fa-chrome" title="Chrome (supported)" aria-label="Chrome (supported)"></i>
53-
<i class="supported-browser fa fa-edge" title="Edge (supported)" aria-label="Edge (supported)"></i>
49+
<i class="supported-browser fa fa-2x fa-internet-explorer" title="Internet explorer (not supported)" aria-label="Internet explorer (not supported)"></i>
50+
<i class="supported-browser fa fa-2x fa-safari" title="Safari (supported)" aria-label="Safari (supported)"></i>
51+
<i class="supported-browser fa fa-2x fa-firefox" title="Firefox (supported)" aria-label="Firefox (supported)"></i>
52+
<i class="supported-browser fa fa-2x fa-chrome" title="Chrome (supported)" aria-label="Chrome (supported)"></i>
53+
<i class="supported-browser fa fa-2x fa-edge" title="Edge (supported)" aria-label="Edge (supported)"></i>
5454
</p>
5555
</div>
5656
</div>

lib

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "isp",
3-
"version": "1.0.12",
3+
"version": "1.0.13",
44
"description": "International Situations Project (ISP)",
55
"private": true,
66
"directories": {

0 commit comments

Comments
 (0)