Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
Metabase
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Engineering Digital Service
Metabase
Commits
eb0bc659
Commit
eb0bc659
authored
9 years ago
by
Allen Gilliland
Browse files
Options
Downloads
Patches
Plain Diff
final cleanup and use for current date spacing.
parent
c2847142
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/metabase/email/messages.clj
+1
-1
1 addition, 1 deletion
src/metabase/email/messages.clj
src/metabase/email/new_user_invite.html
+1
-131
1 addition, 131 deletions
src/metabase/email/new_user_invite.html
with
2 additions
and
132 deletions
src/metabase/email/messages.clj
+
1
−
1
View file @
eb0bc659
...
...
@@ -25,7 +25,7 @@
:joinUrl
join-url
:quotation
(
:quote
data-quote
)
:quotationAuthor
(
:author
data-quote
)
:today
(
u/now-with-format
"MMM
dd,
yyyy"
)}
:today
(
u/now-with-format
"MMM
' 'dd,' '
yyyy"
)}
(
stencil/render-string
tmpl
))]
(
email/send-message
:subject
(
str
"You're invited to join "
company
"'s Metabase"
)
...
...
This diff is collapsed.
Click to expand it.
src/metabase/email/new_user_invite.html
+
1
−
131
View file @
eb0bc659
<html>
<head>
<style>
/*body {
font-family: "Helvetica Neue", Helvetica, sans-serif;
font-size: 0.875rem;
color: #727479;
padding-top: 1em;
padding-bottom: 1em;
background-color: #F9FBFC;
}
@media screen and (min-width: 42em) {
body {
padding-left: 6em;
padding-right: 6em;
}
}
a {
color: #4A90E2;
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
.logo {
padding-bottom: 2em;
text-align: center;
}
.body {
margin: 0 auto;
max-width: 560px;
padding: 2em 4em 2em 4em;
text-align: center;
color: #9F9F9F;
border: 1px solid #dddddd;
background-color: #FFFFFF;
box-shadow: 0 1px 2px rgba(0, 0, 0, .08);
}
.title {
padding-bottom: 1em;
}
.title h2 {
font-weight: normal;
color: #4C545B;
}
.title h4 {
font-weight: normal;
}
.chart {
border-top: 1px solid #ededed;
border-bottom: 1px solid #ededed;
padding: 2em 0em 2em 0em;
text-align: center;
margin-left: auto;
margin-right: auto;
max-width: 350px;
position: relative;
}
.happiness-date {
position: absolute;
left: 90px;
bottom: 144px;
font-weight: bold;
font-size: 0.72rem;
color: #fff;
}
.info {
max-width: 400px;
margin-left: auto;
margin-right: auto;
padding-top: 1em;
line-height: 1.2rem;
}
.info span {
color: #595959;
}
.join {
padding: 1em;
}
.Button {
display: inline-block;
box-sizing: border-box;
text-decoration: none;
font-size: 1.063rem;
padding: 0.5rem 1.375rem;
background: #FBFCFD;
border: 1px solid #ddd;
color: #444;
cursor: pointer;
text-decoration: none;
font-weight: bold;
border-radius: 4px;
}
.Button:hover {
text-decoration: none;
}
.Button--primary {
background-color: #4990E2;
border-color: #4990E2;
color: #fff;
}
.link {
padding-bottom: 2em;
font-size: x-small;
}
.quote {
padding: 3em;
text-align: center;
color: #CCCCCC;
font-size: small;
}*/
</style>
</head>
<body
style=
"font-family: 'Helvetica Neue', Helvetica, sans-serif; font-size: 0.875rem; color: #727479; padding-top: 2em; padding-bottom: 1em; background-color: #F9FBFC; "
>
<div
style=
"padding-bottom: 2em; text-align: center;"
>
<img
width=
"32"
height=
"40"
src=
"http://static.metabase.com/email_logo.png"
/>
...
...
@@ -143,7 +13,7 @@
<tr><td
colspan=
"3"
><img
src=
"http://static.metabase.com/email_graph_top.png"
width=
"296"
height=
"73"
style=
"display:block"
/></td></tr>
<tr>
<td
height=
"15"
width=
"60"
><img
src=
"http://static.metabase.com/email_graph_left.png"
width=
"60"
height=
"15"
style=
"display:block"
/></td>
<td
height=
"15"
width=
"68"
valign=
"middle"
align=
"center"
style=
"font-weight: bold; font-size: 0.72rem; line-height:15px;color: #fff; background-color:#333"
>
{{today}}
</td>
<td
height=
"15"
width=
"68"
valign=
"middle"
align=
"center"
style=
"font-weight: bold; font-size: 0.72rem; line-height:15px;color: #fff; background-color:#333"
>
{{
{
today}}
}
</td>
<td
height=
"15"
width=
"168"
><img
src=
"http://static.metabase.com/email_graph_right.png"
width=
"168"
height=
"15"
style=
"display:block"
/></td></tr>
<tr><td
colspan=
"3"
height=
"46"
><img
src=
"http://static.metabase.com/email_graph_bottom.png"
width=
"296"
height=
"56"
style=
"display:block"
/></td></tr>
</table>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment