Commit eb96336de1f8fa44d8c74567ce35c9f8a7069d23
1 parent
e608eacc
Exists in
master
and in
4 other branches
1. Set Helvetica as primary font; 2. removed tabs
Showing
3 changed files
with
30 additions
and
21 deletions
Show diff stats
app/assets/stylesheets/style.scss
... | ... | @@ -670,3 +670,13 @@ body.projects-page .browse-code{margin-right: 10px} |
670 | 670 | p, h2, h3 { orphans: 3; widows: 3; } |
671 | 671 | h2, h3 { page-break-after: avoid; } |
672 | 672 | } |
673 | + | |
674 | +/** | |
675 | + * author:DZ | |
676 | + * date: Nov 09 | |
677 | + * fix different fonts for firefox & webkit | |
678 | + */ | |
679 | +body, button, input, select, textarea { | |
680 | + font-family: "Helvetica", sans-serif; | |
681 | +} | |
682 | + | ... | ... |
app/helpers/issues_helper.rb
1 | 1 | module IssuesHelper |
2 | - def sort_class | |
3 | - if can?(current_user, :admin_issue, @project) && (!params[:f] || params[:f] == "0") | |
4 | - "handle" | |
5 | - end | |
6 | - end | |
7 | - | |
8 | - def project_issues_filter_path project, params = {} | |
9 | - params[:f] ||= cookies['issue_filter'] | |
10 | - project_issues_path project, params | |
11 | - end | |
2 | + def sort_class | |
3 | + if can?(current_user, :admin_issue, @project) && (!params[:f] || params[:f] == "0") | |
4 | + "handle" | |
5 | + end | |
6 | + end | |
7 | + | |
8 | + def project_issues_filter_path project, params = {} | |
9 | + params[:f] ||= cookies['issue_filter'] | |
10 | + project_issues_path project, params | |
11 | + end | |
12 | 12 | end | ... | ... |
app/helpers/tags_helper.rb
1 | 1 | module TagsHelper |
2 | - def tag_path tag | |
3 | - "/tags/#{tag}" | |
4 | - end | |
2 | + def tag_path tag | |
3 | + "/tags/#{tag}" | |
4 | + end | |
5 | 5 | |
6 | - def tag_list project | |
7 | - html = '' | |
8 | - project.tag_list.each do |tag| | |
9 | - html += link_to tag, tag_path(tag) | |
10 | - end | |
11 | - | |
12 | - html.html_safe | |
13 | - end | |
6 | + def tag_list project | |
7 | + html = '' | |
8 | + project.tag_list.each do |tag| | |
9 | + html += link_to tag, tag_path(tag) | |
10 | + end | |
14 | 11 | |
12 | + html.html_safe | |
13 | + end | |
15 | 14 | end | ... | ... |