Skip to content

Commit

Permalink
fix show date
Browse files Browse the repository at this point in the history
  • Loading branch information
usernaimandrey committed Dec 28, 2023
1 parent 9892653 commit 93329bb
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion app/views/layouts/shared/_last_answers.slim
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
.fs-4.mb-3 = t('.title')

- last_answers.each do |answer|
- next if answer.tota_ai_author? && !answer.author?(current_user_or_guest) && !answer.resume.author?(current_user_or_guest) && !current_user_or_guest.admin?
.mb-4
.fw-bolder = link_to answer.resume, resume_path(answer.resume, anchor: "answer-#{answer.id}")
.small
Expand Down
2 changes: 1 addition & 1 deletion app/views/web/admin/career_member_users/_users.html.slim
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
td = career_member.aasm(:state).human_state
td = show_date_if(user[:last_finished_or_active_step], :without_time)
- if @archived_career_members.present?
td = l @versions_by_member_id[career_member.id].created_at, format: :without_time
td = show_date_if(@versions_by_member_id[career_member.id]&.created_at, :without_time)
- if @finished_career_members.present?
td = show_date_if(career_member.finished_at, :without_time)
- if show_progress
Expand Down

0 comments on commit 93329bb

Please sign in to comment.