@@ -1,25 +1,25 | |||||
1 | <% if issues.length > 0 %> |
|
1 | <% if issues.length > 0 %> | |
2 | <table class="list"> |
|
2 | <table class="list"> | |
3 | <thead><tr> |
|
3 | <thead><tr> | |
4 | <th>#</th> |
|
4 | <th>#</th> | |
5 | <th><%=l(:field_tracker)%></th> |
|
5 | <th><%=l(:field_tracker)%></th> | |
6 | <th><%=l(:field_subject)%></th> |
|
6 | <th><%=l(:field_subject)%></th> | |
7 | </tr></thead> |
|
7 | </tr></thead> | |
8 | <tbody> |
|
8 | <tbody> | |
9 | <% for issue in issues %> |
|
9 | <% for issue in issues %> | |
10 |
<tr class="<%= cycle( |
|
10 | <tr id="issue-<%= issue.id %>" class="issue hascontextmenu <%= cycle('odd', 'even') %> <%= "status-#{issue.status.position} priority-#{issue.priority.position}" %>"> | |
11 | <td class="id"> |
|
11 | <td class="id"> | |
12 | <%= link_to issue.id, :controller => 'issues', :action => 'show', :id => issue %> |
|
12 | <%= link_to issue.id, :controller => 'issues', :action => 'show', :id => issue %> | |
13 | </td> |
|
13 | </td> | |
14 |
<td |
|
14 | <td><%= issue.project.name %> - <%= issue.tracker.name %><br /> | |
15 |
<%= issue.status.name %> - <%= format_time(issue.updated_on) %></ |
|
15 | <%= issue.status.name %> - <%= format_time(issue.updated_on) %></td> | |
16 | <td> |
|
16 | <td class="subject"> | |
17 |
|
|
17 | <%= link_to h(issue.subject), :controller => 'issues', :action => 'show', :id => issue %> | |
18 | </td> |
|
18 | </td> | |
19 | </tr> |
|
19 | </tr> | |
20 | <% end %> |
|
20 | <% end %> | |
21 | </tbody> |
|
21 | </tbody> | |
22 | </table> |
|
22 | </table> | |
23 | <% else %> |
|
23 | <% else %> | |
24 | <i><%=l(:label_no_data)%></i> |
|
24 | <i><%=l(:label_no_data)%></i> | |
25 | <% end %> No newline at end of file |
|
25 | <% end %> |
@@ -1,33 +1,40 | |||||
1 | <div class="contextual"> |
|
1 | <div class="contextual"> | |
2 | <%= link_to l(:label_personalize_page), :action => 'page_layout' %> |
|
2 | <%= link_to l(:label_personalize_page), :action => 'page_layout' %> | |
3 | </div> |
|
3 | </div> | |
4 |
|
4 | |||
5 | <h2><%=l(:label_my_page)%></h2> |
|
5 | <h2><%=l(:label_my_page)%></h2> | |
6 |
|
6 | |||
7 | <div id="list-top"> |
|
7 | <div id="list-top"> | |
8 | <% @blocks['top'].each do |b| |
|
8 | <% @blocks['top'].each do |b| | |
9 | next unless MyController::BLOCKS.keys.include? b %> |
|
9 | next unless MyController::BLOCKS.keys.include? b %> | |
10 | <div class="mypage-box"> |
|
10 | <div class="mypage-box"> | |
11 | <%= render :partial => "my/blocks/#{b}", :locals => { :user => @user } %> |
|
11 | <%= render :partial => "my/blocks/#{b}", :locals => { :user => @user } %> | |
12 | </div> |
|
12 | </div> | |
13 | <% end if @blocks['top'] %> |
|
13 | <% end if @blocks['top'] %> | |
14 | </div> |
|
14 | </div> | |
15 |
|
15 | |||
16 | <div id="list-left" class="splitcontentleft"> |
|
16 | <div id="list-left" class="splitcontentleft"> | |
17 | <% @blocks['left'].each do |b| |
|
17 | <% @blocks['left'].each do |b| | |
18 | next unless MyController::BLOCKS.keys.include? b %> |
|
18 | next unless MyController::BLOCKS.keys.include? b %> | |
19 | <div class="mypage-box"> |
|
19 | <div class="mypage-box"> | |
20 | <%= render :partial => "my/blocks/#{b}", :locals => { :user => @user } %> |
|
20 | <%= render :partial => "my/blocks/#{b}", :locals => { :user => @user } %> | |
21 | </div> |
|
21 | </div> | |
22 | <% end if @blocks['left'] %> |
|
22 | <% end if @blocks['left'] %> | |
23 | </div> |
|
23 | </div> | |
24 |
|
24 | |||
25 | <div id="list-right" class="splitcontentright"> |
|
25 | <div id="list-right" class="splitcontentright"> | |
26 | <% @blocks['right'].each do |b| |
|
26 | <% @blocks['right'].each do |b| | |
27 | next unless MyController::BLOCKS.keys.include? b %> |
|
27 | next unless MyController::BLOCKS.keys.include? b %> | |
28 | <div class="mypage-box"> |
|
28 | <div class="mypage-box"> | |
29 | <%= render :partial => "my/blocks/#{b}", :locals => { :user => @user } %> |
|
29 | <%= render :partial => "my/blocks/#{b}", :locals => { :user => @user } %> | |
30 | </div> |
|
30 | </div> | |
31 | <% end if @blocks['right'] %> |
|
31 | <% end if @blocks['right'] %> | |
32 | </div> |
|
32 | </div> | |
33 |
|
33 | |||
|
34 | <% content_for :header_tags do %> | |||
|
35 | <%= javascript_include_tag 'context_menu' %> | |||
|
36 | <%= stylesheet_link_tag 'context_menu' %> | |||
|
37 | <% end %> | |||
|
38 | ||||
|
39 | <div id="context-menu" style="display: none;"></div> | |||
|
40 | <%= javascript_tag 'new ContextMenu({})' %> |
General Comments 0
You need to be logged in to leave comments.
Login now