BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
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
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
22 additions
and
8 deletions
+22
-8
reset_password_instructions.html.erb
app/views/devise/mailer/reset_password_instructions.html.erb
+0
-8
reset_password_instructions.html.haml
...views/devise/mailer/reset_password_instructions.html.haml
+12
-0
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