1. Set Helvetica as primary font; 2. removed tabs
This commit is contained in:
parent
e608eacc4b
commit
eb96336de1
3 changed files with 30 additions and 21 deletions
|
@ -670,3 +670,13 @@ body.projects-page .browse-code{margin-right: 10px}
|
||||||
p, h2, h3 { orphans: 3; widows: 3; }
|
p, h2, h3 { orphans: 3; widows: 3; }
|
||||||
h2, h3 { page-break-after: avoid; }
|
h2, h3 { page-break-after: avoid; }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* author:DZ
|
||||||
|
* date: Nov 09
|
||||||
|
* fix different fonts for firefox & webkit
|
||||||
|
*/
|
||||||
|
body, button, input, select, textarea {
|
||||||
|
font-family: "Helvetica", sans-serif;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,12 +1,12 @@
|
||||||
module IssuesHelper
|
module IssuesHelper
|
||||||
def sort_class
|
def sort_class
|
||||||
if can?(current_user, :admin_issue, @project) && (!params[:f] || params[:f] == "0")
|
if can?(current_user, :admin_issue, @project) && (!params[:f] || params[:f] == "0")
|
||||||
"handle"
|
"handle"
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
def project_issues_filter_path project, params = {}
|
def project_issues_filter_path project, params = {}
|
||||||
params[:f] ||= cookies['issue_filter']
|
params[:f] ||= cookies['issue_filter']
|
||||||
project_issues_path project, params
|
project_issues_path project, params
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
@ -1,15 +1,14 @@
|
||||||
module TagsHelper
|
module TagsHelper
|
||||||
def tag_path tag
|
def tag_path tag
|
||||||
"/tags/#{tag}"
|
"/tags/#{tag}"
|
||||||
end
|
end
|
||||||
|
|
||||||
def tag_list project
|
def tag_list project
|
||||||
html = ''
|
html = ''
|
||||||
project.tag_list.each do |tag|
|
project.tag_list.each do |tag|
|
||||||
html += link_to tag, tag_path(tag)
|
html += link_to tag, tag_path(tag)
|
||||||
end
|
end
|
||||||
|
|
||||||
html.html_safe
|
|
||||||
end
|
|
||||||
|
|
||||||
|
html.html_safe
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue