Merge pull request #39 from abf/rosa-build:26-ui-changes-on-issues-page
UI changes on Issues#index page
This commit is contained in:
commit
30317e7a06
|
@ -383,6 +383,7 @@ div.comment textarea { resize: none }
|
|||
|
||||
table.tablesorter tbody td a .issue_title {
|
||||
color: #58595B;
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
.syntaxhighlighter {
|
||||
|
|
|
@ -25,7 +25,7 @@ class Projects::IssuesController < Projects::BaseController
|
|||
@direction = params[:direction] == 'asc' ? :asc : :desc
|
||||
@issues = @issues.order("issues.#{@sort}_at #{@direction}")
|
||||
@issues = @issues.includes(:assignee, :user, :pull_request).uniq
|
||||
.paginate :per_page => 10, :page => params[:page]
|
||||
.paginate :per_page => 20, :page => params[:page]
|
||||
if status == 200
|
||||
render 'index', :layout => request.xhr? ? 'with_sidebar' : 'application'
|
||||
else
|
||||
|
|
|
@ -103,7 +103,7 @@ class Projects::PullRequestsController < Projects::BaseController
|
|||
|
||||
@issues_with_pull_request = @issues_with_pull_request.
|
||||
includes(:assignee, :user, :pull_request).uniq.
|
||||
paginate :per_page => 10, :page => params[:page]
|
||||
paginate :per_page => 20, :page => params[:page]
|
||||
if status == 200
|
||||
render 'index', :layout => request.xhr? ? 'with_sidebar' : 'application'
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue