Skip to content

Commit f6b2ebf

Browse files
authored
Merge branch 'develop' into redasterisk
2 parents 49aa254 + 7a54679 commit f6b2ebf

File tree

10 files changed

+62
-870
lines changed

10 files changed

+62
-870
lines changed

app/main/posts/modify/video.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<img src="/img/vimeo.png" class="wordmark-replace">
1111
<span translate="post.video.video_url"> video URL</span>
1212
</p>
13-
<input type="text" ng-model="videoUrl" ng-change="constructIframe(videoUrl)" placeholder="https://youtu.be/123456">
13+
<input type="text" ng-model="videoUrl" ng-blur="constructIframe(videoUrl)" placeholder="https://youtu.be/123456">
1414

1515
<div id="{{previewId}}" class="form-field-preview" ng-show="videoUrl">
1616
<div class="video_embed-fluid">
Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,19 @@
11
<fieldset overflow-toggle has-overflow="forms.length > 1" ng-model-options="{ updateOn: 'default' }">
22
<label translate="app.surveys">Survey</label>
3-
3+
4+
<div class="form-field checkbox" ng-show="forms.length > 5">
5+
<label>
6+
<input type="checkbox" name="selectedForms" ng-model="all"><em><span translate="category.select_all"></span></em>
7+
</label>
8+
</div>
49
<div class="form-field checkbox" ng-repeat="(index, form) in forms">
510
<label>
6-
<input checklist-value="form.id" checklist-model="selectedForms" type="checkbox" name="selectedForms"> <bdi>{{ ::form.name }}</bdi>
11+
<input checklist-value="form.id" checklist-model="selectedForms" type="checkbox" name="selectedForms" ng-checked="all"> <bdi>{{ ::form.name }}</bdi>
712
</label>
813
</div>
914
<div class="form-field checkbox">
1015
<label>
11-
<input checklist-value="'none'" checklist-model="selectedForms" type="checkbox" name="selectedForms" > <span translate="nav.unknown">Unknown</span>
16+
<input checklist-value="'none'" checklist-model="selectedForms" type="checkbox" name="selectedForms" ng-checked="all" > <span translate="nav.unknown">Unknown</span>
1217
</label>
1318
</div>
1419
</fieldset>

app/main/posts/views/filters/filters-dropdown.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,6 @@ <h4 class="dropdown-menu-title" translate="app.filter_by"></h4>
2525
<!-- end: filter options -->
2626
</div>
2727
<div class="form-field filter-actions">
28-
<button type="button" class="button-link" ng-click="clearFilters()" translate>global_filter.restore_defaults</button>
28+
<button type="button" class="button-beta" ng-click="clearFilters()" translate>global_filter.restore_defaults</button>
2929
<button type="submit" class="button-alpha" ng-disabled="disableApplyButton()" translate>app.apply_filters</button>
3030
</div>

app/main/posts/views/share/share-menu.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ <h2 class="listing-item-title">
3131
<div class="listing-item-image">
3232
<img class="icon" src="/img/twitter.png" alt="">
3333
</div>
34-
<h2 class="listing-item-title"><a target="_blank" ng-href="https://twitter.com/home?status={{shareUrlEncoded}}">Twitter</a></h2>
34+
<h2 class="listing-item-title"><a target="_blank" ng-href="https://twitter.com/intent/tweet?url={{shareUrlEncoded}}">Twitter</a></h2>
3535
</div>
3636
</div>
3737

app/settings/data-export/data-export.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,13 +35,13 @@ <h2 class="form-sheet-title" translate>
3535
<!-- TODO: Revisit and condense below structure of translations when migrating to react -->
3636
<p ng-show="!showProgress && hxlEnabled">
3737
{{'data_export.description_hxl' | translate}}
38-
<a href="http://hxlstandard.org/tagging/" class="link-blue" target="_blank">
38+
<a href="https://hxlstandard.org/standard/1-1final/tagging/" class="link-blue" target="_blank">
3939
<svg class="iconic">
4040
<use xlink:href="/img/iconic-sprite.svg#external-link"></use>
4141
</svg>
4242
{{'data_export.hxl_tags' | translate}}
4343
</a>,
44-
<a href="http://hxlstandard.org/dictionary/" class="link-blue" target="_blank">
44+
<a href="https://hxlstandard.org/standard/1-1final/dictionary/" class="link-blue" target="_blank">
4545
<svg class="iconic">
4646
<use xlink:href="/img/iconic-sprite.svg#external-link"></use>
4747
</svg>

app/settings/plans/plan.html

Lines changed: 40 additions & 855 deletions
Large diffs are not rendered by default.

app/settings/plans/plans.controller.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,9 @@ function (
3636
}
3737
};
3838
$rootScope.setLayout('layout-c');
39+
window.scrollTo(0, 0);
3940
$scope.switchTab = switchTab;
40-
$scope.activeTab = 'demo';
41+
$scope.activeTab = 'basic';
4142
$translate('nav.plan_settings').then(function (title) {
4243
$scope.title = title;
4344
$rootScope.$emit('setPageTitle', title);

app/settings/settings-list.controller.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,9 @@ function (
2727
'surveyor': 'Surveyor',
2828
'responder': 'Responder',
2929
'free-pre-jun-2016': 'Mapper (Legacy)',
30-
'zerorated': 'Social Impact'
30+
'zerorated': 'Social Impact',
31+
'demo_1' : 'Ushahidi Demo',
32+
'level_1': 'Ushahidi Basic'
3133
};
3234
$scope.dataExportTitle = 'settings.settings_list.export';
3335
$scope.dataExportDescription = 'settings.settings_list.export_desc';

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "ushahidi-platform-client",
3-
"version": "3.10.0",
3+
"version": "4.4.1",
44
"description": "Ushahidi Platform Official Web Client",
55
"main": "gulpfile.js",
66
"repository": {
@@ -85,7 +85,7 @@
8585
"sass-loader": "^8.0.0",
8686
"style-loader": "^1.1.2",
8787
"supports-color": "^3.1.2",
88-
"svg-url-loader": "^4.0.0",
88+
"svg-url-loader": "^3.0.3",
8989
"transifex": "^1.6.6",
9090
"uglifyjs-webpack-plugin": "^2.2.0",
9191
"url-loader": "^3.0.0",
@@ -128,7 +128,7 @@
128128
"sortablejs": "1.10.0",
129129
"tui-editor": "^1.4.7",
130130
"underscore": "^1.7.0",
131-
"ushahidi-platform-pattern-library": "^4.2.0"
131+
"ushahidi-platform-pattern-library": "^4.4.1"
132132
},
133133
"engines": {
134134
"node": ">=10.0"

webpack.config.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,7 @@ module.exports = {
6464
{
6565
test: /\.svg/,
6666
use: {
67-
loader: 'svg-url-loader?limit=1',
68-
options: {esModule: false }
67+
loader: 'svg-url-loader?limit=1'
6968
}
7069
},
7170
{

0 commit comments

Comments
 (0)