aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--app/views/track/_tracking_links.rhtml6
-rw-r--r--app/views/user/_change_receive_email.rhtml8
-rw-r--r--app/views/user/show.rhtml1
-rw-r--r--app/views/user/wall.rhtml5
-rw-r--r--public/stylesheets/main.css18
5 files changed, 26 insertions, 12 deletions
diff --git a/app/views/track/_tracking_links.rhtml b/app/views/track/_tracking_links.rhtml
index 5d770c742..ac1d302fc 100644
--- a/app/views/track/_tracking_links.rhtml
+++ b/app/views/track/_tracking_links.rhtml
@@ -9,10 +9,8 @@
<% elsif existing_track %>
<% form_tag({:controller => 'track', :action => 'update', :track_id => existing_track.id}, :class => "feed_form feed_form_" + location) do %>
<p>
- <%= track_thing.params[:verb_on_page_already] %>
- <%= hidden_field_tag 'track_medium', "delete" %>
- <%= hidden_field_tag 'r', request.request_uri %>
- <%= submit_tag "unsubscribe" %>
+ <%= track_thing.params[:verb_on_page_already] %><br><br>
+ <%= link_to "Unsubscribe", {:controller => 'track', :action => 'update', :track_id => existing_track.id, :track_medium => "delete", :r => request.request_uri}, :class => "link_button_green" %>
</p>
<% end %>
<% elsif track_thing %>
diff --git a/app/views/user/_change_receive_email.rhtml b/app/views/user/_change_receive_email.rhtml
index 1518dae9b..4de7b8cb0 100644
--- a/app/views/user/_change_receive_email.rhtml
+++ b/app/views/user/_change_receive_email.rhtml
@@ -1,10 +1,12 @@
<% form_tag(:controller=>"user", :action=>"set_receive_email_alerts") do %>
<% if @user.receive_email_alerts %>
- You are currently receiving notification of new activity on your wall by email.
+ <%= _('You are currently receiving notification of new activity on your wall by email.', :wall_url => show_user_wall_path) %>
<%= hidden_field_tag 'receive_email_alerts', 'false' %>
- <%= submit_tag "Turn off email alerts" %>
+ <%= submit_tag _("Turn off email alerts") %>
<% else %>
+ <%= _('Items matching the following conditions are currently displayed on your wall.') %>
<%= hidden_field_tag 'receive_email_alerts', 'true' %>
- <%= submit_tag "Send me alerts of new activity by email" %>
+ <%= submit_tag _("Also send me alerts by email") %>
<% end %>
<% end %>
+
diff --git a/app/views/user/show.rhtml b/app/views/user/show.rhtml
index e2047f216..d723196d3 100644
--- a/app/views/user/show.rhtml
+++ b/app/views/user/show.rhtml
@@ -193,7 +193,6 @@
<% end %>
<% if @show_profile && @is_you %>
<h2 id="email_subscriptions"> <%= _("Things you're following")%></h2>
- <p>You can view everything you're following on <%= link_to "your wall", show_user_wall_path %>.</p>
<%= render :partial => 'change_receive_email' %>
<br>
<% if @track_things.empty? %>
diff --git a/app/views/user/wall.rhtml b/app/views/user/wall.rhtml
index b48169908..dd45250bd 100644
--- a/app/views/user/wall.rhtml
+++ b/app/views/user/wall.rhtml
@@ -1,7 +1,10 @@
<% @title = h(@display_user.name) + _(" - wall") %>
-<p>This page lists your own activity, and activity you've followed. You can change what you're following on <%= link_to "your profile page", show_user_profile_path %>.</p>
+<div class="medium_column">
+ <p><%= _('You can change the requests and users you are following on <a href="{{profile_url}}">your profile page</a>.', :profile_url => show_user_profile_path) %>
<%= render :partial => 'change_receive_email' %>
+</div>
+
<div id="user_profile_search">
<% if !@feed_results.nil? %>
<% for result in @feed_results %>
diff --git a/public/stylesheets/main.css b/public/stylesheets/main.css
index 79a5ad342..4c4d4ca38 100644
--- a/public/stylesheets/main.css
+++ b/public/stylesheets/main.css
@@ -883,12 +883,16 @@ text-decoration:none;
}
#follow_box {
- background: #FFFFD2;
- border-radius: 4px;
- border: solid #5F5F5F 1px;
+ background: #E9FDD3;
+ border-radius: 6px;
+ border: solid #B0CA86 1px;
padding: 4px;
}
+#follow_box h2 {
+ margin: 0;
+}
+
h2,dt {
font-size:1.8em;
}
@@ -1262,6 +1266,9 @@ cursor:pointer;
padding:5px 6px;
}
+.feed_link a.link_button_green {
+ color:white;
+}
a.link_button_green_large {
background:url(/images/button-gradient-large.png);
font-size:2em;
@@ -1646,6 +1653,11 @@ width:575px;
padding-right:50px;
float:left;
}
+.medium_column {
+width:575px;
+padding-right:50px;
+}
+
#authority_preview .request_left,
#authority_preview #header_left {
width: 100%;