Skip to content

Commit

Permalink
Revert change to tab translation path
Browse files Browse the repository at this point in the history
  • Loading branch information
bbpennel committed Apr 3, 2023
1 parent 9ed2e4e commit 449bb49
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions app/views/hyrax/admin/workflows/_tabs.html.erb
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<ul class="nav nav-tabs" id="my_nav" role="list">
<li<%= ' class="nav-item"'.html_safe if @response.viewing_under_review? %>>
<%= link_to t('.under_review'),
<%= link_to t('hyrax.admin.workflows.index.tabs.under_review'),
hyrax.admin_workflows_path(state: 'under-review'), class: "nav-link#{' active' if @response.viewing_under_review?}" %>
</li>
<li<%= ' class="nav-item"'.html_safe if !@response.viewing_under_review? %>>
<%= link_to t('.published'), hyrax.admin_workflows_path(state: 'published'), class: "nav-link#{' active' if !@response.viewing_under_review?}" %>
<%= link_to t('hyrax.admin.workflows.index.tabs.published'), hyrax.admin_workflows_path(state: 'published'), class: "nav-link#{' active' if !@response.viewing_under_review?}" %>
</li>
</ul>
6 changes: 3 additions & 3 deletions config/locales/hyrax.en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -467,9 +467,9 @@ en:
works_published: "<strong>%{total_count} works</strong> published"
works_under_review: "<strong>%{total_count} works</strong> under review"
works_listing: Works listing
tabs:
published: Published
under_review: Under Review
tabs:
published: Published
under_review: Under Review
api:
accepted:
default: Your request has been accepted for processing, but processing is not complete. See job for more info.
Expand Down

0 comments on commit 449bb49

Please sign in to comment.