aboutsummaryrefslogtreecommitdiffstats
path: root/app/views
diff options
context:
space:
mode:
Diffstat (limited to 'app/views')
-rw-r--r--app/views/request/show.rhtml2
-rw-r--r--app/views/request_mailer/comment_on_alert.rhtml6
-rw-r--r--app/views/request_mailer/comment_on_alert_plural.rhtml6
3 files changed, 12 insertions, 2 deletions
diff --git a/app/views/request/show.rhtml b/app/views/request/show.rhtml
index 0d6d72f22..c070faf97 100644
--- a/app/views/request/show.rhtml
+++ b/app/views/request/show.rhtml
@@ -101,7 +101,6 @@
<%= render :partial => 'correspondence', :locals => { :info_request_event => info_request_event } %>
<% end %>
-<!--
<div id="comment_container">
<h2>Add an annotation</h2>
@@ -151,7 +150,6 @@
<%= render :partial => 'comment/comment_form', :locals => { } %>
</div>
- -->
</div>
diff --git a/app/views/request_mailer/comment_on_alert.rhtml b/app/views/request_mailer/comment_on_alert.rhtml
new file mode 100644
index 000000000..b1650318d
--- /dev/null
+++ b/app/views/request_mailer/comment_on_alert.rhtml
@@ -0,0 +1,6 @@
+<%=@comment.user.name%> has annotated your <%=@info_request.law_used_short%>
+request. Follow this link to see what they wrote.
+
+<%=@url%>
+
+-- the WhatDoTheyKnow team
diff --git a/app/views/request_mailer/comment_on_alert_plural.rhtml b/app/views/request_mailer/comment_on_alert_plural.rhtml
new file mode 100644
index 000000000..ee12ba975
--- /dev/null
+++ b/app/views/request_mailer/comment_on_alert_plural.rhtml
@@ -0,0 +1,6 @@
+There are <%=@count%> new annotations on your <%=@info_request.law_used_short%>
+request. Follow this link to see what they wrote.
+
+<%=@url%>
+
+-- the WhatDoTheyKnow team