Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
weeklies committed Jan 26, 2025
1 parent 6efc0fe commit c1821de
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions app/views/comments/_commentable.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@
</li>
<% end %>

<%# i18n-tasks-use t("comments.commentable.mark_as_read") %>
<% if logged_in? && @work && marked_for_later?(@work) %>
<li>
<%= mark_as_read_link(@work) %>
Expand Down
2 changes: 2 additions & 0 deletions app/views/works/_work_header_navigation.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@
<% # for users, bookmark and mark to read later %>
<%# i18n-tasks-use t("works.work_header_navigation.mark_as_read") %>
<%# i18n-tasks-use t("works.work_header_navigation.mark_for_later") %>
<% if current_user.is_a?(User) %>
<% @bookmark ||= bookmark_if_exists(@work) %>
<li class="bookmark">
Expand Down
4 changes: 4 additions & 0 deletions config/locales/views/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -555,6 +555,7 @@ en:
guest_comments_disabled: Sorry, the Archive doesn't allow guests to comment right now.
invite_to_collections_link: Invite To Collections
logged_as_admin: Please log out of your admin account to comment.
mark_as_read: Mark as Read
permissions:
admin_post:
alt_action: You can however %{support_link} with any feedback or questions.
Expand Down Expand Up @@ -1946,6 +1947,9 @@ en:
revealed_html: "%{work_link} by %{creator_link}"
title: Works inspired by this one
unrevealed: A work in an unrevealed collection
work_header_navigation:
mark_as_read: Mark as Read
mark_for_later: Mark for Later
work_header_notes:
inspired_by:
restricted_html: Inspired by [Restricted Work] by %{creator_link} (Log in to access.)
Expand Down

0 comments on commit c1821de

Please sign in to comment.