Skip to content

Commit

Permalink
Merge pull request otwcode#2360 from sarken/AO3-4492
Browse files Browse the repository at this point in the history
AO3-4492 Add missing landmarks to user gifts page
  • Loading branch information
zz9pzza committed Feb 26, 2016
2 parents e9fe04f + df55ac6 commit 82ef8ff
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/views/gifts/index.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@

<!--subnavigation, sorting and actions-->
<% if @user && @user == current_user %>
<h3 class="landmark heading"><%= ts("Navigation") %></h3>
<ul class="navigation actions" role="navigation">
<li>
<%= span_if_current ts("Accepted Gifts"), user_gifts_path(@user), !(params[:refused]) %>
Expand All @@ -29,6 +30,7 @@
<% end %>

<!--main content-->
<h3 class="heading landmark"><%= ts("List of Gifts") %></h3>
<ul class="gift work index group">
<% for work in @works %>
<%= render 'gifts/gift_blurb', work: work, gift: work %>
Expand Down

0 comments on commit 82ef8ff

Please sign in to comment.