Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
gitlab-ce
Commits
66ae3897
Commit
66ae3897
authored
Mar 22, 2016
by
Robert Speicher
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make the standard Devise confirmation email our new plaintext version
parent
2682c588
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
9 deletions
+9
-9
app/views/devise/mailer/confirmation_instructions.html.erb
app/views/devise/mailer/confirmation_instructions.html.erb
+0
-9
app/views/devise/mailer/confirmation_instructions.text.erb
app/views/devise/mailer/confirmation_instructions.text.erb
+9
-0
No files found.
app/views/devise/mailer/confirmation_instructions.html.erb
deleted
100644 → 0
View file @
2682c588
<p>
Welcome
<%=
@resource
.
name
%>
!
</p>
<%
if
@resource
.
unconfirmed_email
.
present?
%>
<p>
You can confirm your email (
<%=
@resource
.
unconfirmed_email
%>
) through the link below:
</p>
<%
else
%>
<p>
You can confirm your account through the link below:
</p>
<%
end
%>
<p>
<%=
link_to
'Confirm your account'
,
confirmation_url
(
@resource
,
confirmation_token:
@token
)
%>
</p>
app/views/devise/mailer/confirmation_instructions.text.erb
0 → 100644
View file @
66ae3897
Welcome,
<%=
@resource
.
name
%>
!
<%
if
@resource
.
unconfirmed_email
.
present?
%>
You can confirm your email (
<%=
@resource
.
unconfirmed_email
%>
) through the link below:
<%
else
%>
You can confirm your account through the link below:
<%
end
%>
<%=
confirmation_url
(
@resource
,
confirmation_token:
@token
)
%>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment