Skip to content
This repository has been archived by the owner on Feb 8, 2018. It is now read-only.

Commit

Permalink
Merge pull request #2167 from belug23/rename_reconnect_to_transfer
Browse files Browse the repository at this point in the history
Changing the term 'reconnect' by 'transfer'
  • Loading branch information
Nik Markwell committed Mar 25, 2014
2 parents a1b2a60 + a504b96 commit 1c3217c
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion gittip/models/participant.py
Original file line number Diff line number Diff line change
Expand Up @@ -721,7 +721,7 @@ def take_over(self, account, have_confirmation=False):
ever decide to join Gittip).
In certain circumstances, we want to present the user with a
confirmation before proceeding to reconnect the account elsewhere to
confirmation before proceeding to transfer the account elsewhere to
the new Gittip account; NeedConfirmation is the signal to request
confirmation. If it was the last account elsewhere connected to the old
Gittip account, then we absorb the old Gittip account into the new one,
Expand Down
10 changes: 5 additions & 5 deletions www/on/confirm.html.spt
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ title = "Please Confirm"

<div><img class="platform-icon" src="{{ platform.icon }}"
/> <span class="highlight">{{ user_name }}</span> is connected<br />to
<b>{{ other.username }}</b> on Gittip.<br />Reconnect it?</div>
<b>{{ other.username }}</b> on Gittip.<br />Transfer it?</div>

<h2>Now</h2>

Expand Down Expand Up @@ -116,7 +116,7 @@ title = "Please Confirm"
</table>


<h2>After Reconnect</h2>
<h2>After Transfer</h2>

<table class="scenario">
<tr>
Expand Down Expand Up @@ -218,15 +218,15 @@ title = "Please Confirm"


<div class="nav level-2">
<h2>Reconnect?</h2>
<h2>Transfer it?</h2>

<form action="/on/take-over.html" method="POST">
<input type="hidden" name="platform" value="{{ account.platform }}" />
<input type="hidden" name="user_id" value="{{ account.user_id }}" />
<input type="hidden" name="csrf_token" value="{{ csrf_token }}" />
<input type="hidden" name="connect_token" value="{{ connect_token }}" />
<button name="should_reconnect" value="yes" class="selected larger">Yes</button>
<button name="should_reconnect" value="no" >No</button>
<button name="should_transfer" value="yes" class="selected larger">Yes</button>
<button name="should_transfer" value="no" >No</button>
</form>
</div>

Expand Down
2 changes: 1 addition & 1 deletion www/on/take-over.html.spt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ if user.ANON:
if not POST:
raise Response(405)

if body['should_reconnect'] != 'yes':
if body['should_transfer'] != 'yes':
request.redirect('/about/me.html')

platform = body['platform']
Expand Down

0 comments on commit 1c3217c

Please sign in to comment.