隐藏我的工作台更多按钮

This commit is contained in:
sw 2014-11-20 10:54:03 +08:00
parent 43f9d82f5e
commit 0e409445cc
4 changed files with 12 additions and 8 deletions

View File

@ -60,7 +60,9 @@ class IssuesController < ApplicationController
sort_update(@query.sortable_columns) sort_update(@query.sortable_columns)
@query.sort_criteria = sort_criteria.to_a @query.sort_criteria = sort_criteria.to_a
@project_base_tag = (params[:project_id] || @issue.project) ? 'base_projects':'base'#by young if @issue
@project_base_tag = (params[:project_id] || @issue.project) ? 'base_projects':'base'
end
if @query.valid? if @query.valid?
case params[:format] case params[:format]

View File

@ -11,11 +11,13 @@
</ul> </ul>
</div> </div>
--> -->
<p class="small"><%= link_to l(:label_issue_view_all), :controller => 'issues', <p class="small">
<%#= link_to l(:label_issue_view_all), :controller => 'issues',
:action => 'index', :action => 'index',
:set_filter => 1, :set_filter => 1,
:assigned_to_id => 'me', :assigned_to_id => 'me',
:sort => 'priority:desc,updated_on:desc' %></p> :sort => 'priority:desc,updated_on:desc' %>
</p>
<% end %> <% end %>
<% content_for :header_tags do %> <% content_for :header_tags do %>
<%= auto_discovery_link_tag(:atom, <%= auto_discovery_link_tag(:atom,

View File

@ -3,7 +3,7 @@
<% reported_issues = issuesreportedbyme_items %> <% reported_issues = issuesreportedbyme_items %>
<%= render :partial => 'issues/list_simple', :locals => { :issues => reported_issues } %> <%= render :partial => 'issues/list_simple', :locals => { :issues => reported_issues } %>
<% if reported_issues.length > 0 %> <% if reported_issues.length > 0 %>
<p class="small"><%= link_to l(:label_issue_view_all), :controller => 'issues', <p class="small"><%#= link_to l(:label_issue_view_all), :controller => 'issues',
:action => 'index', :action => 'index',
:set_filter => 1, :set_filter => 1,
:status_id => '*', :status_id => '*',

View File

@ -3,7 +3,7 @@
<%= render :partial => 'issues/list_simple', :locals => { :issues => watched_issues } %> <%= render :partial => 'issues/list_simple', :locals => { :issues => watched_issues } %>
<% if watched_issues.length > 0 %> <% if watched_issues.length > 0 %>
<p class="small"><%= link_to l(:label_issue_view_all), :controller => 'issues', <p class="small"><%#= link_to l(:label_issue_view_all), :controller => 'issues',
:action => 'index', :action => 'index',
:set_filter => 1, :set_filter => 1,
:watcher_id => 'me', :watcher_id => 'me',