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
Kazuhiko Shiozaki
gitlab-ce
Commits
fb17234b
Commit
fb17234b
authored
Feb 21, 2012
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
separated buttons for sidebar
parent
9803e088
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
6 deletions
+10
-6
app/views/widgets/_project_member.html.haml
app/views/widgets/_project_member.html.haml
+10
-6
No files found.
app/views/widgets/_project_member.html.haml
View file @
fb17234b
...
@@ -10,13 +10,16 @@
...
@@ -10,13 +10,16 @@
%p
%p
-
if
@project
.
issues_enabled
-
if
@project
.
issues_enabled
%span
Assigned issues:
Assigned issues:
=
current_user
.
assigned_issues
.
opened
.
count
=
current_user
.
assigned_issues
.
opened
.
count
%br
%br
-
if
@project
.
merge_requests_enabled
-
if
@project
.
merge_requests_enabled
%span
Assigned merge request:
Assigned merge request:
=
current_user
.
assigned_merge_requests
.
opened
.
count
=
current_user
.
assigned_merge_requests
.
opened
.
count
%br
%br
%span
Your merge requests:
Your merge requests:
=
current_user
.
assigned_merge_requests
.
opened
.
count
=
current_user
.
assigned_merge_requests
.
opened
.
count
%br
%br
...
@@ -24,6 +27,7 @@
...
@@ -24,6 +27,7 @@
-
if
@project
.
merge_requests_enabled
-
if
@project
.
merge_requests_enabled
=
link_to
new_project_merge_request_path
(
@project
),
:title
=>
"New Merge Request"
,
:class
=>
"btn small"
do
=
link_to
new_project_merge_request_path
(
@project
),
:title
=>
"New Merge Request"
,
:class
=>
"btn small"
do
Merge Request
Merge Request
-
if
@project
.
issues_enabled
-
if
@project
.
issues_enabled
=
link_to
new_project_issue_path
(
@project
),
:title
=>
"New Issue"
,
:class
=>
"btn small"
do
=
link_to
new_project_issue_path
(
@project
),
:title
=>
"New Issue"
,
:class
=>
"btn small"
do
Issue
Issue
...
...
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