Sha256: bb2b424678a0dc6cfa03fcde655b209d105b41f3167aadea7ce44c89da4bebdb

Contents?: true

Size: 1.41 KB

Versions: 1

Compression:

Stored size: 1.41 KB

Contents

<ul class="cal">
  <li scope="col" title="<%= l(:label_week) %>" class="calhead week-number"></li>
  <% 7.times do |i| %>
    <li scope="col" class="calhead"><%= day_name((calendar.first_wday + i) % 7) %></li>
  <% end %>
  <% calendar.format_month.each_slice(7) do |week| %>
    <li class='week-number'>
      <span class="label-week"><%= l(:label_week) %></span> <%= calendar.week_number week.first %>
    </li>
    <% week.each do |day| %>
    <li class="<%= calendar.day_css_classes day %> calbody">
      <p class="day-num"><%= day.day %>
        <span class="abbr-day">(<%= abbr_day_name(day.cwday) %>)</span>
      </p>
      <% calendar.events_on(day).each do |i| %>
        <% if i.is_a? Issue %>
          <%= tag.div class: [ i.css_classes, 'tooltip hascontextmenu', starting: day == i.start_date, ending: day == i.due_date] do %>
            <%= "#{i.project} -" unless @project && @project == i.project %>
            <%= link_to_issue i, :truncate => 30 %>
            <span class="tip"><%= render_issue_tooltip i %></span>
            <%= check_box_tag 'ids[]', i.id, false, :style => 'display:none;', :id => nil %>
          <% end %>
        <% else %>
          <span class="icon icon-package">
            <%= "#{i.project} -" unless @project && @project == i.project %>
            <%= link_to_version i %>
          </span>
        <% end %>
      <% end %>
    </li>
    <% end %>
  <% end %>
</ul>
<%= context_menu %>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
redmineup-1.0.2 app/views/redmine_crm/redmineup_calendar/_calendar.html.erb