Run a UI refresh over the OIDC Exchange confirmation dialog
							parent
							
								
									33a86f6cbe
								
							
						
					
					
						commit
						db346d129b
					
				|  | @ -70,26 +70,26 @@ export default class WidgetOpenIDPermissionsDialog extends React.Component { | |||
|         return ( | ||||
|             <BaseDialog className='mx_WidgetOpenIDPermissionsDialog' hasCancel={true} | ||||
|                         onFinished={this.props.onFinished} | ||||
|                         title={_t("A widget would like to verify your identity")}> | ||||
|                         title={_t("Allow this widget to verify your identity")}> | ||||
|                 <div className='mx_WidgetOpenIDPermissionsDialog_content'> | ||||
|                     <p> | ||||
|                         {_t( | ||||
|                             "A widget located at %(widgetUrl)s would like to verify your identity. " + | ||||
|                             "By allowing this, the widget will be able to verify your user ID, but not " + | ||||
|                             "perform actions as you.", { | ||||
|                                 widgetUrl: this.props.widget.templateUrl.split("?")[0], | ||||
|                             }, | ||||
|                         )} | ||||
|                         {_t("The widget will verify your user ID, but won't be able to perform actions for you:")} | ||||
|                     </p> | ||||
|                     <p className="text-muted"> | ||||
|                         {/* cheap trim to just get the path */} | ||||
|                         {this.props.widget.templateUrl.split("?")[0].split("#")[0]} | ||||
|                     </p> | ||||
|                     <LabelledToggleSwitch value={this.state.rememberSelection} toggleInFront={true} | ||||
|                                           onChange={this._onRememberSelectionChange} | ||||
|                                           label={_t("Remember my selection for this widget")} /> | ||||
|                 </div> | ||||
|                 <DialogButtons | ||||
|                     primaryButton={_t("Allow")} | ||||
|                     primaryButton={_t("Continue")} | ||||
|                     onPrimaryButtonClick={this._onAllow} | ||||
|                     cancelButton={_t("Deny")} | ||||
|                     onCancel={this._onDeny} | ||||
|                     additive={ | ||||
|                         <LabelledToggleSwitch | ||||
|                             value={this.state.rememberSelection} | ||||
|                             toggleInFront={true} | ||||
|                             onChange={this._onRememberSelectionChange} | ||||
|                             label={_t("Remember this")} />} | ||||
|                 /> | ||||
|             </BaseDialog> | ||||
|         ); | ||||
|  |  | |||
|  | @ -2242,10 +2242,9 @@ | |||
|     "Approve": "Approve", | ||||
|     "Decline All": "Decline All", | ||||
|     "Remember my selection for this widget": "Remember my selection for this widget", | ||||
|     "A widget would like to verify your identity": "A widget would like to verify your identity", | ||||
|     "A widget located at %(widgetUrl)s would like to verify your identity. By allowing this, the widget will be able to verify your user ID, but not perform actions as you.": "A widget located at %(widgetUrl)s would like to verify your identity. By allowing this, the widget will be able to verify your user ID, but not perform actions as you.", | ||||
|     "Allow": "Allow", | ||||
|     "Deny": "Deny", | ||||
|     "Allow this widget to verify your identity": "Allow this widget to verify your identity", | ||||
|     "The widget will verify your user ID, but won't be able to perform actions for you:": "The widget will verify your user ID, but won't be able to perform actions for you:", | ||||
|     "Remember this": "Remember this", | ||||
|     "Wrong file type": "Wrong file type", | ||||
|     "Looks good!": "Looks good!", | ||||
|     "Wrong Security Key": "Wrong Security Key", | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	 Travis Ralston
						Travis Ralston