Skip to content

Commit

Permalink
Add Logo to mails
Browse files Browse the repository at this point in the history
  • Loading branch information
robbi5 committed Apr 16, 2015
1 parent f64bc09 commit a029dce
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
4 changes: 4 additions & 0 deletions app/assets/stylesheets/email.css.scss
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,10 @@ li {
/* -------------------------------------
BODY
------------------------------------- */
.logo-wrap {
text-align: center;
}

table.body-wrap {
width: 100%;
padding: 10px;
Expand Down
7 changes: 7 additions & 0 deletions app/views/layouts/mailer.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,13 @@
</head>
<body bgcolor="#f6f6f6" itemscope itemtype="http://schema.org/EmailMessage">
<table class="body-wrap">
<tr>
<td></td>
<td class="logo-wrap" align="center">
<%= link_to image_tag('kleineanfragen.svg', alt: 'kleineAnfragen'), root_url %>
</td>
<td></td>
</tr>
<tr>
<td></td>
<td class="container" bgcolor="#FFFFFF">
Expand Down

0 comments on commit a029dce

Please sign in to comment.