Issue beginning/ending arrows should be flipped in RTL calendars (#43718).

Patch by Go MAEDA (user:maeda).


git-svn-id: https://svn.redmine.org/redmine/trunk@24377 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Go MAEDA
2026-01-27 00:36:01 +00:00
parent 0329dbd6ba
commit cee2a01eaa
2 changed files with 4 additions and 4 deletions

View File

@@ -57,8 +57,8 @@
<%= call_hook(:view_calendars_show_bottom, :year => @year, :month => @month, :project => @project, :query => @query) %>
<p class="legend cal">
<span class="starting"><%= sprite_icon('bullet-go', l(:text_tip_issue_begin_day)) %></span>
<span class="ending"><%= sprite_icon('bullet-end', l(:text_tip_issue_end_day)) %></span>
<span class="starting"><%= sprite_icon('bullet-go', l(:text_tip_issue_begin_day), rtl: true) %></span>
<span class="ending"><%= sprite_icon('bullet-end', l(:text_tip_issue_end_day), rtl: true) %></span>
<span class="starting ending"><%= sprite_icon('bullet-go-end', l(:text_tip_issue_begin_end_day)) %></span>
</p>
<% end %>

View File

@@ -20,8 +20,8 @@
<% ending = day == i.due_date %>
<%= tag.div class: [ i.css_classes, 'tooltip hascontextmenu', starting: starting, ending: ending] do %>
<%= "#{i.project} -" unless @project && @project == i.project %>
<%= sprite_icon('bullet-go') if starting && starting != ending %>
<%= sprite_icon('bullet-end') if ending && starting != ending %>
<%= sprite_icon('bullet-go', rtl: true) if starting && starting != ending %>
<%= sprite_icon('bullet-end', rtl: true) if ending && starting != ending %>
<%= sprite_icon('bullet-go-end') if starting && ending %>
<%= link_to_issue i, :truncate => 30 %>
<span class="tip"><%= render_issue_tooltip i %></span>