green specs
This commit is contained in:
parent
7b36b8d130
commit
415eddaf39
2 changed files with 2 additions and 4 deletions
|
@ -96,7 +96,7 @@ class IssuesController < ApplicationController
|
||||||
else @project.issues.opened
|
else @project.issues.opened
|
||||||
end
|
end
|
||||||
|
|
||||||
@issues = @issues.where("title LIKE ? OR content LIKE ?", "%#{terms}%", "%#{terms}%") unless terms.blank?
|
@issues = @issues.where("title LIKE ?", "%#{terms}%") unless terms.blank?
|
||||||
|
|
||||||
render :partial => 'issues'
|
render :partial => 'issues'
|
||||||
end
|
end
|
||||||
|
|
|
@ -10,9 +10,7 @@
|
||||||
%td{:style => "font-size: 1px; line-height: 1px;", :width => "21"}
|
%td{:style => "font-size: 1px; line-height: 1px;", :width => "21"}
|
||||||
%td{:align => "left", :style => "padding: 20px 0 0;"}
|
%td{:align => "left", :style => "padding: 20px 0 0;"}
|
||||||
%h2{:style => "color:#646464 !important; font-weight: bold; margin: 0; padding: 0; line-height: 26px; font-size: 18px; font-family: Helvetica, Arial, sans-serif; "}
|
%h2{:style => "color:#646464 !important; font-weight: bold; margin: 0; padding: 0; line-height: 26px; font-size: 18px; font-family: Helvetica, Arial, sans-serif; "}
|
||||||
= link_to project_issue_url(@project, @issue) do
|
= link_to project_issue_url(@project, @issue), :title => @issue.title do
|
||||||
= "Issue ##{@issue.id.to_s}"
|
= "Issue ##{@issue.id.to_s}"
|
||||||
= truncate(@issue.title, :length => 45)
|
= truncate(@issue.title, :length => 45)
|
||||||
%br
|
%br
|
||||||
%cite{:style => "color:#767676; font-weight: normal; margin: 0; padding: 0; line-height: 20px; font-size: 12px;font-family: Helvetica, Arial, sans-serif; "}
|
|
||||||
= @issue.content
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue