Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions app/views/challenge_claims/_user_index.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@

<!--subnav-->
<% unless params[:for_user] %>
<ul class="navigation actions" role="navigation">
<li id="unposted-link">
<%= span_if_current ts("Unfulfilled Claims"), user_claims_path(current_user), params[:posted].blank? %>
<ul class="navigation actions">
<li>
<%= span_if_current t(".navigation.unfulfilled"), user_claims_path(current_user), params[:posted].blank? %>
</li>
<li id="posted-link">
<%= span_if_current ts("Fulfilled Claims"), user_claims_path(current_user, :posted => true) %>
<li>
<%= span_if_current t(".navigation.fulfilled"), user_claims_path(current_user, posted: true), params[:posted].present? %>
</li>
</ul>

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you have a second, this closing tag needs to move left 2 spaces to align with the opening <ul>. But it's not blocking, so I will mark this approved!

<% end %>
Expand Down
3 changes: 3 additions & 0 deletions config/locales/views/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -747,6 +747,9 @@ en:
user_index:
assignments: My Assignments
assignments_note_html: Looking for assignments you were given for a gift exchange? Try %{assignments_link}.
navigation:
fulfilled: Fulfilled Claims
unfulfilled: Unfulfilled Claims
challenge_signups:
signup_form:
notice:
Expand Down
Loading