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
1
Merge Requests
1
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
nexedi
gitlab-ce
Commits
25fcaa9f
Commit
25fcaa9f
authored
May 10, 2017
by
Alexis Reigel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add view helper for mail heading
parent
b0e0bfc8
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
0 deletions
+13
-0
app/helpers/emails_helper.rb
app/helpers/emails_helper.rb
+13
-0
No files found.
app/helpers/emails_helper.rb
View file @
25fcaa9f
...
...
@@ -66,4 +66,17 @@ module EmailsHelper
)
end
end
def
email_default_heading
(
text
)
content_tag
:h1
,
text
,
style:
[
"font-family:'Helvetica Neue',Helvetica,Arial,sans-serif"
,
'color:#333333'
,
'font-size:18px'
,
'font-weight:400'
,
'line-height:1.4'
,
'padding:0'
,
'margin:0'
,
'text-align:center'
].
join
(
';'
)
end
end
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