From: Jean-Philippe Lang Date: Sat, 24 Nov 2007 15:16:04 +0000 (+0000) Subject: Issue context menu now also available on 'My page'. X-Git-Tag: 0.6.1~38 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=acad206063c159fa9eec62e12104c065c5424d78;p=redmine.git Issue context menu now also available on 'My page'. git-svn-id: http://redmine.rubyforge.org/svn/trunk@929 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/app/views/issues/_list_simple.rhtml b/app/views/issues/_list_simple.rhtml index 9051e46b8..517055e3a 100644 --- a/app/views/issues/_list_simple.rhtml +++ b/app/views/issues/_list_simple.rhtml @@ -7,14 +7,14 @@ <% for issue in issues %> - <%= "status-#{issue.status.position} priority-#{issue.priority.position}" %>"> + "> <%= link_to issue.id, :controller => 'issues', :action => 'show', :id => issue %> -

<%= issue.project.name %> - <%= issue.tracker.name %>
- <%= issue.status.name %> - <%= format_time(issue.updated_on) %>

- -

<%= link_to h(issue.subject), :controller => 'issues', :action => 'show', :id => issue %>

+ <%= issue.project.name %> - <%= issue.tracker.name %>
+ <%= issue.status.name %> - <%= format_time(issue.updated_on) %> + + <%= link_to h(issue.subject), :controller => 'issues', :action => 'show', :id => issue %> <% end %> diff --git a/app/views/my/page.rhtml b/app/views/my/page.rhtml index 5c6c906db..89d11ddea 100644 --- a/app/views/my/page.rhtml +++ b/app/views/my/page.rhtml @@ -31,3 +31,10 @@ <% end if @blocks['right'] %> +<% content_for :header_tags do %> + <%= javascript_include_tag 'context_menu' %> + <%= stylesheet_link_tag 'context_menu' %> +<% end %> + + +<%= javascript_tag 'new ContextMenu({})' %>