commit
54d7acb2a6
3 changed files with 8956 additions and 3 deletions
|
|
@ -3,7 +3,7 @@
|
|||
import React from 'react';
|
||||
import PropTypes from 'prop-types';
|
||||
import { Row, Col, FormGroup, ControlLabel, Button } from 'react-bootstrap';
|
||||
import { capitalize } from '@cleverbeagle/strings';
|
||||
import _ from 'lodash';
|
||||
import { Meteor } from 'meteor/meteor';
|
||||
import { Accounts } from 'meteor/accounts-base';
|
||||
import { Bert } from 'meteor/themeteorchef:bert';
|
||||
|
|
@ -117,7 +117,7 @@ class Profile extends React.Component {
|
|||
{Object.keys(user.services).map(service => (
|
||||
<div key={service} className={`LoggedInWith ${service}`}>
|
||||
<div className="ServiceIcon"><i className={`fa fa-${service === 'facebook' ? 'facebook-official' : service}`} /></div>
|
||||
<p>{`You're logged in with ${capitalize(service)} using the email address ${user.services[service].email}.`}</p>
|
||||
<p>{`You're logged in with ${_.capitalize(service)} using the email address ${user.services[service].email}.`}</p>
|
||||
</div>
|
||||
))}
|
||||
</div>) : <div />;
|
||||
|
|
|
|||
8953
package-lock.json
generated
Normal file
8953
package-lock.json
generated
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -8,12 +8,12 @@
|
|||
"dependencies": {
|
||||
"@cleverbeagle/dates": "^0.4.0",
|
||||
"@cleverbeagle/seeder": "^1.1.0",
|
||||
"@cleverbeagle/strings": "^0.1.0",
|
||||
"babel-runtime": "^6.20.0",
|
||||
"bcrypt": "^1.0.2",
|
||||
"commonmark": "^0.27.0",
|
||||
"jquery": "^2.2.4",
|
||||
"jquery-validation": "^1.16.0",
|
||||
"lodash": "^4.17.4",
|
||||
"meteor-node-stubs": "~0.2.4",
|
||||
"prop-types": "^15.5.10",
|
||||
"react": "^15.5.4",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue