aboutsummaryrefslogtreecommitdiffstats
path: root/app/views
diff options
context:
space:
mode:
Diffstat (limited to 'app/views')
-rw-r--r--app/views/help/about.rhtml9
-rw-r--r--app/views/request/show.rhtml8
-rw-r--r--app/views/track/track_set.rhtml35
3 files changed, 52 insertions, 0 deletions
diff --git a/app/views/help/about.rhtml b/app/views/help/about.rhtml
index 41bd84b60..39b7e7684 100644
--- a/app/views/help/about.rhtml
+++ b/app/views/help/about.rhtml
@@ -125,6 +125,15 @@ Therefore, we encourage you to use your real name, but you may use a pseudonym
if you would like to be anonymous.
</dd>
+<dt id="tracking">Why does the list of things that I'm tracking appear publically on the site?</dt>
+
+<dd>This helps you find others who are researching the same area of government,
+so you can form groups to investigate or campaign together. It also helps us
+show requests which are related to other requests. If you've ever used a
+"social bookmarking" website such as Delicious, Digg or reddit, think of it like
+that.
+</dd>
+
</dl>
<div id="hash_link_padding"></div>
diff --git a/app/views/request/show.rhtml b/app/views/request/show.rhtml
index 8e5ac5f4f..1bb926b57 100644
--- a/app/views/request/show.rhtml
+++ b/app/views/request/show.rhtml
@@ -66,6 +66,14 @@
</div>
<div id="request_sidebar">
+<!-- <h2>Actions</h2>
+
+ <p>
+ <%= link_to "Track updates to this request", track_request_url(:url_title => @info_request.url_title) %>
+ (by email or RSS)
+ </p>
+ -->
+
<% if @info_requests_same_user_same_body.size > 0 %>
<h2>Some other requests made by
<%= user_link(@info_request.user) %> to <%= public_body_link(@info_request.public_body) %></h2>
diff --git a/app/views/track/track_set.rhtml b/app/views/track/track_set.rhtml
new file mode 100644
index 000000000..380d1dd64
--- /dev/null
+++ b/app/views/track/track_set.rhtml
@@ -0,0 +1,35 @@
+<div id="track_set">
+
+<% form_tag({:id => "track_set_form"}) do %>
+ <%= foi_error_messages_for :track_thing %>
+
+ <div class="form_note">
+ <h1><%=@title %></h1>
+ </div>
+
+ <div class="form_note">
+ <!--<%= radio_button "track_thing", "track_medium", "email_immediate" %>
+ <label for="track_track_medium_email">Send me emails shortly after there are updates</label>
+ <br> -->
+ <%= radio_button "track_thing", "track_medium", "email_daily" %>
+ <label for="track_thing_track_medium_email">Send me emails at most once a day</label>
+ <!--
+ <br>
+ <%= radio_button "track_thing", "track_medium", "rss" %>
+ <label for="track__thingtrack_medium_rss">Give me a feed to use in my news reader (RSS)</label>
+ -->
+ </div>
+
+ <p class="form_note">
+ <strong>Privacy note:</strong> It will appear publically on your user page that
+ you are tracking this request (<a href="/help/about/#tracking">details</a>).
+ </p>
+
+ <div class="form_button">
+ <%= hidden_field_tag 'submitted_track_request', 1 %>
+ <%= submit_tag "Subscribe" %>
+ </div>
+<% end %>
+
+</div>
+