Commit 415eddaf39d7e1ffc4bf009d43a273614224909b
1 parent
7b36b8d1
Exists in
master
and in
4 other branches
green specs
Showing
2 changed files
with
2 additions
and
4 deletions
Show diff stats
app/controllers/issues_controller.rb
... | ... | @@ -96,7 +96,7 @@ class IssuesController < ApplicationController |
96 | 96 | else @project.issues.opened |
97 | 97 | end |
98 | 98 | |
99 | - @issues = @issues.where("title LIKE ? OR content LIKE ?", "%#{terms}%", "%#{terms}%") unless terms.blank? | |
99 | + @issues = @issues.where("title LIKE ?", "%#{terms}%") unless terms.blank? | |
100 | 100 | |
101 | 101 | render :partial => 'issues' |
102 | 102 | end | ... | ... |
app/views/notify/new_issue_email.html.haml
... | ... | @@ -10,9 +10,7 @@ |
10 | 10 | %td{:style => "font-size: 1px; line-height: 1px;", :width => "21"} |
11 | 11 | %td{:align => "left", :style => "padding: 20px 0 0;"} |
12 | 12 | %h2{:style => "color:#646464 !important; font-weight: bold; margin: 0; padding: 0; line-height: 26px; font-size: 18px; font-family: Helvetica, Arial, sans-serif; "} |
13 | - = link_to project_issue_url(@project, @issue) do | |
13 | + = link_to project_issue_url(@project, @issue), :title => @issue.title do | |
14 | 14 | = "Issue ##{@issue.id.to_s}" |
15 | 15 | = truncate(@issue.title, :length => 45) |
16 | 16 | %br |
17 | - %cite{:style => "color:#767676; font-weight: normal; margin: 0; padding: 0; line-height: 20px; font-size: 12px;font-family: Helvetica, Arial, sans-serif; "} | |
18 | - = @issue.content | ... | ... |