##// END OF EJS Templates
Issue context menu now also available on 'My page'....
Jean-Philippe Lang -
r916:acad206063c1
parent child
Show More
@@ -1,25 +1,25
1 1 <% if issues.length > 0 %>
2 2 <table class="list">
3 3 <thead><tr>
4 4 <th>#</th>
5 5 <th><%=l(:field_tracker)%></th>
6 6 <th><%=l(:field_subject)%></th>
7 7 </tr></thead>
8 8 <tbody>
9 9 <% for issue in issues %>
10 <tr class="<%= cycle("odd", "even") %> <%= "status-#{issue.status.position} priority-#{issue.priority.position}" %>">
10 <tr id="issue-<%= issue.id %>" class="issue hascontextmenu <%= cycle('odd', 'even') %> <%= "status-#{issue.status.position} priority-#{issue.priority.position}" %>">
11 11 <td class="id">
12 12 <%= link_to issue.id, :controller => 'issues', :action => 'show', :id => issue %>
13 13 </td>
14 <td><p class="small"><%= issue.project.name %> - <%= issue.tracker.name %><br />
15 <%= issue.status.name %> - <%= format_time(issue.updated_on) %></p></td>
16 <td>
17 <p class="small"><%= link_to h(issue.subject), :controller => 'issues', :action => 'show', :id => issue %></p>
14 <td><%= issue.project.name %> - <%= issue.tracker.name %><br />
15 <%= issue.status.name %> - <%= format_time(issue.updated_on) %></td>
16 <td class="subject">
17 <%= link_to h(issue.subject), :controller => 'issues', :action => 'show', :id => issue %>
18 18 </td>
19 19 </tr>
20 20 <% end %>
21 21 </tbody>
22 22 </table>
23 23 <% else %>
24 24 <i><%=l(:label_no_data)%></i>
25 25 <% end %> No newline at end of file
@@ -1,33 +1,40
1 1 <div class="contextual">
2 2 <%= link_to l(:label_personalize_page), :action => 'page_layout' %>
3 3 </div>
4 4
5 5 <h2><%=l(:label_my_page)%></h2>
6 6
7 7 <div id="list-top">
8 8 <% @blocks['top'].each do |b|
9 9 next unless MyController::BLOCKS.keys.include? b %>
10 10 <div class="mypage-box">
11 11 <%= render :partial => "my/blocks/#{b}", :locals => { :user => @user } %>
12 12 </div>
13 13 <% end if @blocks['top'] %>
14 14 </div>
15 15
16 16 <div id="list-left" class="splitcontentleft">
17 17 <% @blocks['left'].each do |b|
18 18 next unless MyController::BLOCKS.keys.include? b %>
19 19 <div class="mypage-box">
20 20 <%= render :partial => "my/blocks/#{b}", :locals => { :user => @user } %>
21 21 </div>
22 22 <% end if @blocks['left'] %>
23 23 </div>
24 24
25 25 <div id="list-right" class="splitcontentright">
26 26 <% @blocks['right'].each do |b|
27 27 next unless MyController::BLOCKS.keys.include? b %>
28 28 <div class="mypage-box">
29 29 <%= render :partial => "my/blocks/#{b}", :locals => { :user => @user } %>
30 30 </div>
31 31 <% end if @blocks['right'] %>
32 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