Typo robosat -> robot. Shorten welcome back msg

This commit is contained in:
Reckless_Satoshi 2022-02-13 09:55:44 -08:00
parent 8fcad56e15
commit 3ce5d8304c
No known key found for this signature in database
GPG Key ID: 9C4585B561315571
4 changed files with 7 additions and 6 deletions

View File

@ -30,6 +30,7 @@ ALTERNATIVE_SITE = 'RoboSats6tkf3eva7x2voqso3a5wcorsnw34jveyxfqi2fu7oyheasid.oni
ALTERNATIVE_NAME = 'RoboSats Mainnet'
# Lightning node open info, url to amboss and 1ML
NETWORK = 'testnet'
NODE_ALIAS = '🤖RoboSats⚡(RoboDevs)'
NODE_ID = '033b58d7......'

View File

@ -423,9 +423,9 @@ class UserView(APIView):
user = authenticate(request, username=nickname, password=token)
if user is not None:
login(request, user)
# Sends the welcome back message, only if created +30 mins ago
if request.user.date_joined < (timezone.now()-timedelta(minutes=30)):
context['found'] = 'We found your Robosat. Welcome back!'
# Sends the welcome back message, only if created +3 mins ago
if request.user.date_joined < (timezone.now()-timedelta(minutes=3)):
context['found'] = 'We found your Robot avatar. Welcome back!'
return Response(context, status=status.HTTP_202_ACCEPTED)
else:
# It is unlikely, but maybe the nickname is taken (1 in 20 Billion change)

View File

@ -234,8 +234,8 @@ export default class TradeBox extends Component {
<Divider/>
<Grid item xs={12} align="center">
<Typography component="body2" variant="body2">
Please wait for the taker to confirm by locking a bond.
If the taker does not lock a bond in time the orer will be made
Please wait for the taker to lock a bond.
If the taker does not lock a bond in time, the order will be made
public again.
</Typography>
</Grid>

File diff suppressed because one or more lines are too long