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
3a5315d3
Commit
3a5315d3
authored
May 25, 2016
by
Robert Speicher
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Customize the Devise `reset_password_instructions` email
parent
dd1f56b5
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
22 additions
and
8 deletions
+22
-8
app/views/devise/mailer/reset_password_instructions.html.erb
app/views/devise/mailer/reset_password_instructions.html.erb
+0
-8
app/views/devise/mailer/reset_password_instructions.html.haml
...views/devise/mailer/reset_password_instructions.html.haml
+12
-0
app/views/devise/mailer/reset_password_instructions.text.erb
app/views/devise/mailer/reset_password_instructions.text.erb
+10
-0
No files found.
app/views/devise/mailer/reset_password_instructions.html.erb
deleted
100644 → 0
View file @
dd1f56b5
<p>
Hello
<%=
@resource
.
email
%>
!
</p>
<p>
Someone has requested a link to change your password, and you can do this through the link below.
</p>
<p>
<%=
link_to
'Change your password'
,
edit_password_url
(
@resource
,
reset_password_token:
@token
)
%>
</p>
<p>
If you didn't request this, please ignore this email.
</p>
<p>
Your password won't change until you access the link above and create a new one.
</p>
app/views/devise/mailer/reset_password_instructions.html.haml
0 → 100644
View file @
3a5315d3
.center
#content
%h2
Hello,
#{
@resource
.
name
}
!
%p
Someone, hopefully you, has requested to reset the password for your
GitLab account on
#{
link_to
(
Gitlab
.
config
.
gitlab
.
url
,
Gitlab
.
config
.
gitlab
.
url
)
}
.
%p
If you did not perform this request, you can safely ignore this email.
%p
Otherwise, click the link below to complete the process.
#cta
=
link_to
(
'Reset password'
,
edit_password_url
(
@resource
,
reset_password_token:
@token
))
app/views/devise/mailer/reset_password_instructions.text.erb
0 → 100644
View file @
3a5315d3
Hello,
<%=
@resource
.
name
%>
!
Someone, hopefully you, has requested to reset the password for your GitLab
account on
<%=
Gitlab
.
config
.
gitlab
.
url
%>
If you did not perform this request, you can safely ignore this email.
Otherwise, click the link below to complete the process:
<%=
edit_password_url
(
@resource
,
reset_password_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