diff options
author | Louise Crow <louise.crow@gmail.com> | 2015-02-27 16:31:21 +0000 |
---|---|---|
committer | Louise Crow <louise.crow@gmail.com> | 2015-03-02 16:26:54 +0000 |
commit | 4886051f3517178c17e555c8610df8ce98c55ac8 (patch) | |
tree | 4dc45a89ab72ca383a90708936db7713c5c31381 | |
parent | d2acfccc6789a24d8dae263002ba7ed29b4e20ab (diff) |
Make unsubscribe a button as it is elsewhere on this page.
-rw-r--r-- | app/assets/stylesheets/responsive/_public_body_layout.scss | 1 | ||||
-rw-r--r-- | app/views/public_body/show.html.erb | 11 |
2 files changed, 6 insertions, 6 deletions
diff --git a/app/assets/stylesheets/responsive/_public_body_layout.scss b/app/assets/stylesheets/responsive/_public_body_layout.scss index d694006e4..7a9637bc9 100644 --- a/app/assets/stylesheets/responsive/_public_body_layout.scss +++ b/app/assets/stylesheets/responsive/_public_body_layout.scss @@ -63,6 +63,7 @@ } } + .list-filter-item { .title { display: inline; diff --git a/app/views/public_body/show.html.erb b/app/views/public_body/show.html.erb index 82d678e56..c46596c89 100644 --- a/app/views/public_body/show.html.erb +++ b/app/views/public_body/show.html.erb @@ -61,17 +61,16 @@ </div> <div class="action-bar__follow"> <% follower_count = TrackThing.count(:all, :conditions => ["public_body_id = ?", @public_body.id]) %> - <div class="action-bar__follow-button"> + <div class="action-bar__follow-button"> <% if @existing_track %> - <%= @track_thing.params[:verb_on_page_already] %> - <%= (link_to _("(unsubscribe)"), {:controller => 'track', :action => 'update', :track_id => @existing_track.id, :track_medium => "delete", :r => request.fullpath}) %> + <%= (link_to _("Unsubscribe"), {:controller => 'track', :action => 'update', :track_id => @existing_track.id, :track_medium => "delete", :r => request.fullpath}, :class => "link_button_green") %> <% else %> - <div class="feed_link"> + <div class="feed_link"> <%= link_to _("Follow"), do_track_path(@track_thing), :class => "link_button_green" %> - </div> + </div> <% end %> + </div> - </div> <div class="action-bar__follower-count"> <%= n_("{{count}} follower", "{{count}} followers", |