Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
eb96336d
Commit
eb96336d
authored
Nov 09, 2011
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1. Set Helvetica as primary font; 2. removed tabs
parent
e608eacc
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
30 additions
and
21 deletions
+30
-21
app/assets/stylesheets/style.scss
app/assets/stylesheets/style.scss
+10
-0
app/helpers/issues_helper.rb
app/helpers/issues_helper.rb
+10
-10
app/helpers/tags_helper.rb
app/helpers/tags_helper.rb
+10
-11
No files found.
app/assets/stylesheets/style.scss
View file @
eb96336d
...
...
@@ -670,3 +670,13 @@ body.projects-page .browse-code{margin-right: 10px}
p
,
h2
,
h3
{
orphans
:
3
;
widows
:
3
;
}
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
;
}
app/helpers/issues_helper.rb
View file @
eb96336d
module
IssuesHelper
def
sort_class
if
can?
(
current_user
,
:admin_issue
,
@project
)
&&
(
!
params
[
:f
]
||
params
[
:f
]
==
"0"
)
"handle"
end
end
def
project_issues_filter_path
project
,
params
=
{}
params
[
:f
]
||=
cookies
[
'issue_filter'
]
project_issues_path
project
,
params
end
def
sort_class
if
can?
(
current_user
,
:admin_issue
,
@project
)
&&
(
!
params
[
:f
]
||
params
[
:f
]
==
"0"
)
"handle"
end
end
def
project_issues_filter_path
project
,
params
=
{}
params
[
:f
]
||=
cookies
[
'issue_filter'
]
project_issues_path
project
,
params
end
end
app/helpers/tags_helper.rb
View file @
eb96336d
module
TagsHelper
def
tag_path
tag
"/tags/
#{
tag
}
"
end
def
tag_path
tag
"/tags/
#{
tag
}
"
end
def
tag_list
project
html
=
''
project
.
tag_list
.
each
do
|
tag
|
html
+=
link_to
tag
,
tag_path
(
tag
)
end
html
.
html_safe
end
def
tag_list
project
html
=
''
project
.
tag_list
.
each
do
|
tag
|
html
+=
link_to
tag
,
tag_path
(
tag
)
end
html
.
html_safe
end
end
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment