Commit 7c408352 authored by Sébastiaan Versteeg's avatar Sébastiaan Versteeg
Browse files

Merge branch 'feature/add-registration-button' into 'master'

Added button to redirect non-members to the registration page

Closes #70

See merge request !191
parents c70bf244 2f5fa261
......@@ -2,5 +2,6 @@
"Username": "Gebruikersnaam",
"Password": "Wachtwoord",
"LOGIN": "INLOGGEN",
"Forgot password?": "Wachtwoord vergeten?"
"Forgot password?": "Wachtwoord vergeten?",
"Become a member": "Lid worden"
}
......@@ -74,9 +74,12 @@ class LoginScreen extends Component {
textStyle={styles.loginButtonText}
underlayColor={Colors.white}
/>
<Text style={styles.forgotpass} onPress={() => Linking.openURL(`${url}/password_reset/`)}>
<Text style={styles.linkText} onPress={() => Linking.openURL(`${url}/password_reset/`)}>
{t('Forgot password?')}
</Text>
<Text style={styles.linkText} onPress={() => Linking.openURL(`${url}/registration/`)}>
{t('Become a member')}
</Text>
</View>
);
......
......@@ -22,10 +22,10 @@ const styles = StyleSheet.create({
marginRight: 16,
},
},
forgotpass: {
linkText: {
alignSelf: 'center',
color: Colors.darkGrey,
marginBottom: 10,
marginTop: 10,
android: {
fontFamily: 'sans-serif-medium',
},
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment