diff --git a/app/assets/stylesheets/emails.scss b/app/assets/stylesheets/emails.scss index 3ff9e1d..95b128f 100644 --- a/app/assets/stylesheets/emails.scss +++ b/app/assets/stylesheets/emails.scss @@ -22,6 +22,11 @@ background-color: #99ff00; padding: 1px 2px; } +.email_attribute_junk { + background-color: #222222; + color: #cccccc + padding: 1px 2px; +} .email_content th { text-align: left; diff --git a/app/views/emails/index.html.erb b/app/views/emails/index.html.erb index 9a76fac..0255729 100644 --- a/app/views/emails/index.html.erb +++ b/app/views/emails/index.html.erb @@ -30,6 +30,9 @@ <% if email.mailing_list? %> list <% end %> + <% if email.junk? %> + junk + <% end %> <%= link_to 'Show', email %> <%= link_to 'Edit', edit_email_path(email) %>