Closed mraible closed 4 years ago
Hi Matt, Thanks for the feedback. So This blueprint does not modify jhipster clients, so the home page is a copy from client subgenerator. However I notice that the space is due to the missing of a return of getLoginUrl() function:
<Alert color="warning">
<Translate contentKey="global.messages.info.authenticated.prefix">If you want to </Translate>
<%_ if (authenticationType === 'oauth2') { _%>
<a href={getLoginUrl()} className="alert-link">
<Translate contentKey="global.messages.info.authenticated.link">sign in</Translate>
</a>
<%_ } else { _%>
<Link to="/login" className="alert-link"><Translate contentKey="global.messages.info.authenticated.link"> sign in</Translate></Link>
<%_ } _%>
Any Suggestions?
@amanganiello90 This method just returns a URL. It's import is:
import { getLoginUrl } from 'app/shared/util/url-utils';
Code is:
Ok, then it is only a space missing in the tag, because the link works. Thanks.
I close it because I have list all the changes in #136
Describe the bug
Generate a new app with React and OAuth 2.0. The words are scrunched together. There should be a space before "sign in" on the homepage.