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
0
Merge Requests
0
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
Léo-Paul Géneau
gitlab-ce
Commits
97e05469
Commit
97e05469
authored
Dec 06, 2013
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove colors from icon helpers
Signed-off-by:
Dmitriy Zaporozhets
<
dmitriy.zaporozhets@gmail.com
>
parent
a4a27a5a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
4 deletions
+5
-4
app/helpers/icons_helper.rb
app/helpers/icons_helper.rb
+3
-3
app/views/admin/projects/index.html.haml
app/views/admin/projects/index.html.haml
+2
-1
No files found.
app/helpers/icons_helper.rb
View file @
97e05469
...
...
@@ -8,14 +8,14 @@ module IconsHelper
end
def
public_icon
content_tag
:i
,
nil
,
class:
'icon-globe
cblue
'
content_tag
:i
,
nil
,
class:
'icon-globe'
end
def
internal_icon
content_tag
:i
,
nil
,
class:
'icon-shield
camber
'
content_tag
:i
,
nil
,
class:
'icon-shield'
end
def
private_icon
content_tag
:i
,
nil
,
class:
'icon-lock
cgreen
'
content_tag
:i
,
nil
,
class:
'icon-lock'
end
end
app/views/admin/projects/index.html.haml
View file @
97e05469
...
...
@@ -46,7 +46,8 @@
%ul
.well-list
-
@projects
.
each
do
|
project
|
%li
=
visibility_level_icon
(
project
.
visibility_level
)
%span
{
class:
visibility_level_color
(
project
.
visibility_level
)
}
=
visibility_level_icon
(
project
.
visibility_level
)
=
link_to
project
.
name_with_namespace
,
[
:admin
,
project
]
.pull-right
%span
.label.label-gray
...
...
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