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:
warpc 2013-03-20 03:02:27 +04:00
commit 30317e7a06
3 changed files with 3 additions and 2 deletions

View File

@ -383,6 +383,7 @@ div.comment textarea { resize: none }
table.tablesorter tbody td a .issue_title {
color: #58595B;
font-size: 13px;
}
.syntaxhighlighter {

View File

@ -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

View File

@ -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