diff options
Diffstat (limited to 'app/views/quote_mailer')
| -rw-r--r-- | app/views/quote_mailer/pending_quote_email.html.haml | 1 | ||||
| -rw-r--r-- | app/views/quote_mailer/pending_quote_email.text.erb | 2 |
2 files changed, 3 insertions, 0 deletions
| diff --git a/app/views/quote_mailer/pending_quote_email.html.haml b/app/views/quote_mailer/pending_quote_email.html.haml index fff825d..df72594 100644 --- a/app/views/quote_mailer/pending_quote_email.html.haml +++ b/app/views/quote_mailer/pending_quote_email.html.haml | |||
| @@ -10,3 +10,4 @@ | |||
| 10 | %p | 10 | %p |
| 11 | Submitted: | 11 | Submitted: |
| 12 | = @quote.created_at.strftime("%B #{@quote.created_at.day.ordinalize}, %Y at %-I:%M:%S%P") | 12 | = @quote.created_at.strftime("%B #{@quote.created_at.day.ordinalize}, %Y at %-I:%M:%S%P") |
| 13 | %p= link_to "Go to the admin panel", pending_admin_quotes_url | ||
| diff --git a/app/views/quote_mailer/pending_quote_email.text.erb b/app/views/quote_mailer/pending_quote_email.text.erb index 818fc4a..b9d71bb 100644 --- a/app/views/quote_mailer/pending_quote_email.text.erb +++ b/app/views/quote_mailer/pending_quote_email.text.erb | |||
| @@ -13,3 +13,5 @@ Here is the quote: | |||
| 13 | --- | 13 | --- |
| 14 | 14 | ||
| 15 | Posted: <%= @quote.created_at.strftime("%B #{@quote.created_at.day.ordinalize}, %Y at %-I:%M:%S%P") %> | 15 | Posted: <%= @quote.created_at.strftime("%B #{@quote.created_at.day.ordinalize}, %Y at %-I:%M:%S%P") %> |
| 16 | |||
| 17 | Go to the admin panel: <%= pending_admin_quotes_url %> | ||
