"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/app/keyring/components/KeyUsers.js" between
mailvelope-4.2.0.tar.gz and mailvelope-4.2.1.tar.gz

About: Mailvelope is a browser extension offering email encryption with PGP (for Firefox and Chrome).

KeyUsers.js  (mailvelope-4.2.0):KeyUsers.js  (mailvelope-4.2.1)
skipping to change at line 87 skipping to change at line 87
render() { render() {
const showKeyServerStatus = this.props.users.some(user => user.remote); const showKeyServerStatus = this.props.users.some(user => user.remote);
if (this.state.selectedUser !== null) { if (this.state.selectedUser !== null) {
return <Redirect to={`/keyring/key/${this.props.keyFpr}/user/${this.state. selectedUser}`} />; return <Redirect to={`/keyring/key/${this.props.keyFpr}/user/${this.state. selectedUser}`} />;
} }
return ( return (
<div className={`keyUsers ${this.props.className || ''}`}> <div className={`keyUsers ${this.props.className || ''}`}>
<div className="card card-clean-table"> <div className="card card-clean-table">
<div className="card-header d-flex align-items-center justify-content- between flex-wrap"> <div className="card-header d-flex align-items-center justify-content- between flex-wrap">
<h3>{l10n.map.keyusers_title}</h3> <h3 className="my-2 my-md-0">{l10n.map.keyusers_title}</h3>
{(!this.context.gnupg && this.props.keyType !== 'public' && this.pro ps.keyValidity) && {(!this.context.gnupg && this.props.keyType !== 'public' && this.pro ps.keyValidity) &&
<Link to={`/keyring/key/${this.props.keyFpr}/user/add`} className= "btn btn-sm btn-secondary" replace tabIndex="0" title={l10n.map.keyusers_add_btn _title}>{l10n.map.keyusers_add_btn}</Link> <Link to={`/keyring/key/${this.props.keyFpr}/user/add`} className= "btn btn-sm btn-secondary" replace tabIndex="0" title={l10n.map.keyusers_add_btn _title}>{l10n.map.keyusers_add_btn}</Link>
} }
</div> </div>
<div className="table-responsive"> <div className="table-responsive">
<table className="table table-custom table-hover mb-0"> <table className="table table-custom table-hover mb-0">
<thead> <thead>
<tr> <tr>
<th className="text-center">{l10n.map.keygrid_user_primary}</t h> <th className="text-center">{l10n.map.keygrid_user_primary}</t h>
<th>{l10n.map.keygrid_user_name}</th> <th>{l10n.map.keygrid_user_name}</th>
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)