Top menu opens this week; weeks run are for Run tech bonuses

The Tech bonuses top menu now goes to /tech_bonuses/current, which
redirects to the week containing today. The index (week picker and
weeks run) is limited to Run tech bonuses: View tech bonuses only
covers a week's page, whose title links to the index only for those
who can run the bonus.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
rickyandClaude Opus 5.5 committed 2026-11-16 16:55:16 -05:00
1 parent d35d408ac6
commit 67a0bc62aa
6 files changed
+28 -11

No files matched your search

+1 -1
View File
@@ -11,7 +11,7 @@
| <%= link_to sprite_icon('time', l(:label_tech_bonus_time_report)), report_time_entries_path(report.redmine_report_params), class: 'icon icon-time' %>
</div>
<h2><%= link_to l(:label_tech_bonus_plural), tech_bonuses_path %> » <%= bonus_week_title(@week) %></h2>
<h2><%= @can_run ? link_to(l(:label_tech_bonus_plural), tech_bonuses_path) : l(:label_tech_bonus_plural) %> » <%= bonus_week_title(@week) %></h2>
<div class="tech-bonus-summary">
<div class="box">