diff --git a/app/components/add-contributor/component.js b/app/components/add-contributor/component.js
index 118aba3..346135a 100644
--- a/app/components/add-contributor/component.js
+++ b/app/components/add-contributor/component.js
@@ -8,6 +8,7 @@ import { isAddress } from 'web3-utils';
export default Component.extend({
kredits: service(),
+ router: service(),
attributes: null,
@@ -21,6 +22,7 @@ export default Component.extend({
isValidGithubUsername: notEmpty('github_username'),
isValidGiteaUsername: notEmpty('gitea_username'),
isValidWikiUsername: notEmpty('wiki_username'),
+ isValidZoomDisplayName: notEmpty('zoom_display_name'),
isValid: and(
'isValidAccount',
@@ -47,7 +49,8 @@ export default Component.extend({
github_username: null,
github_uid: null,
gitea_username: null,
- wiki_username: null
+ wiki_username: null,
+ zoom_display_name: null
});
},
@@ -75,6 +78,7 @@ export default Component.extend({
window.alert('Something went wrong. Please check the browser console.');
}).finally(() => {
this.set('inProgress', false);
+ this.router.transitionTo('dashboard');
});
}
diff --git a/app/components/add-contributor/template.hbs b/app/components/add-contributor/template.hbs
index ccb34e3..8eceeee 100644
--- a/app/components/add-contributor/template.hbs
+++ b/app/components/add-contributor/template.hbs
@@ -43,6 +43,11 @@
{{input name="wiki_username" type="text" value=wiki_username placeholder="ZeroCool"
class=(if isValidWikiUsername "valid" "") id="c-wiki-username"}}
+
+
+ {{input name="zoom_display_name" type="text" value=zoom_display_name placeholder="Zero Cool"
+ class=(if isValidZoomDisplayName "valid" "") id="c-zoom-display-name"}}
+
{{input type="submit" disabled=inProgress
value=(if inProgress "Processing" "Save")}}
diff --git a/app/components/external-account-link/component.js b/app/components/external-account-link/component.js
index a0c6c71..ecbb294 100644
--- a/app/components/external-account-link/component.js
+++ b/app/components/external-account-link/component.js
@@ -6,7 +6,7 @@ export default Component.extend({
account: null,
iconComponentName: computed('account.site', function() {
- if (this.account.site.match(/github|gitea|wiki/)) {
+ if (this.account.site.match(/github|gitea|wiki|zoom/)) {
return 'icon-account-' + this.account.site.replace(/\./g, '-');
} else {
return 'icon-web-globe';
diff --git a/app/components/icon-account-github-com/template.hbs b/app/components/icon-account-github-com/template.hbs
index 85d6c45..2c2336e 100644
--- a/app/components/icon-account-github-com/template.hbs
+++ b/app/components/icon-account-github-com/template.hbs
@@ -1,4 +1,4 @@
-