application.html.erb 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. <style type="text/css">
  2. blockquote {
  3. border-left: 2px solid blue;
  4. padding-left: 1em;
  5. }
  6. .header {
  7. color: #aaaaaa;
  8. border-bottom-style:solid;
  9. border-bottom-width:1px;
  10. border-bottom-color:#aaaaaa;
  11. width: 100%;
  12. max-width: 600px;
  13. padding-bottom: 6px;
  14. margin-bottom: 16px;
  15. padding-top: 6px;
  16. font-size: 16px;
  17. }
  18. .footer {
  19. font-size: 10px;
  20. color: #aaaaaa;
  21. border-top-style:solid;
  22. border-top-width:1px;
  23. border-top-color:#aaaaaa;
  24. width: 100%;
  25. max-width: 600px;
  26. padding-top: 6px;
  27. margin-top: 16px;
  28. padding-botton: 6px;
  29. }
  30. .footer a {
  31. color: #aaaaaa;
  32. }
  33. </style>
  34. <% if @objects[:standalone] != true %>
  35. <div class="header">
  36. <%= c 'product_name' %> <%= t 'Notification' %>
  37. </div>
  38. <% end %>
  39. <%= d 'message', false %>
  40. <% if @objects[:standalone] != true %>
  41. <div class="footer">
  42. <% if @objects[:reason] %>
  43. <%= t @objects[:reason] %> |
  44. <% end %>
  45. <a href="<%= c 'http_type' %>://<%= c 'fqdn' %>/#profile/notifications"><%= t 'Manage your notification settings' %></a>
  46. <% if c('organization').present? %>| <%= c 'organization' %><% end %>
  47. </div>
  48. <% end %>