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
iv
gitlab-ce
Commits
ce484fa9
Commit
ce484fa9
authored
Jan 02, 2013
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed admin -> group -> show
parent
67896ea9
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
6 deletions
+4
-6
app/views/admin/groups/show.html.haml
app/views/admin/groups/show.html.haml
+1
-1
app/views/help/markdown.html.haml
app/views/help/markdown.html.haml
+2
-2
features/steps/admin/admin_groups.rb
features/steps/admin/admin_groups.rb
+0
-2
features/steps/group/group.rb
features/steps/group/group.rb
+1
-1
No files found.
app/views/admin/groups/show.html.haml
View file @
ce484fa9
...
@@ -76,7 +76,7 @@
...
@@ -76,7 +76,7 @@
%tr
{
class:
"user_#{u.id}"
}
%tr
{
class:
"user_#{u.id}"
}
%td
.name
=
link_to
u
.
name
,
admin_user_path
(
u
)
%td
.name
=
link_to
u
.
name
,
admin_user_path
(
u
)
%td
.projects_access
%td
.projects_access
-
u
.
projects
.
in_namespace
(
@group
).
each
do
|
project
|
-
u
.
authorized_
projects
.
in_namespace
(
@group
).
each
do
|
project
|
-
u_p
=
u
.
users_projects
.
in_project
(
project
).
first
-
u_p
=
u
.
users_projects
.
in_project
(
project
).
first
%span
%span
=
project
.
name
=
project
.
name
...
...
app/views/help/markdown.html.haml
View file @
ce484fa9
%h3
.page_title
GitLab Flavored Markdown
%h3
.page_title
GitLab Flavored Markdown
.back_link
.back_link
=
link_to
help_path
do
=
link_to
help_path
do
←
to index
←
to index
%hr
%hr
...
@@ -120,7 +120,7 @@
...
@@ -120,7 +120,7 @@
for commits
for commits
-# this example will only be shown if the user has a project with at least one issue
-# this example will only be shown if the user has a project with at least one issue
-
if
@project
=
current_user
.
projects
.
first
-
if
@project
=
current_user
.
authorized_
projects
.
first
-
if
issue
=
@project
.
issues
.
first
-
if
issue
=
@project
.
issues
.
first
%p
For example in your
#{
link_to
@project
.
name
,
project_path
(
@project
)
}
project, writing:
%p
For example in your
#{
link_to
@project
.
name
,
project_path
(
@project
)
}
project, writing:
%pre
=
"This is related to #
#{
issue
.
id
}
. @
#{
current_user
.
name
}
is working on solving it."
%pre
=
"This is related to #
#{
issue
.
id
}
. @
#{
current_user
.
name
}
is working on solving it."
...
...
features/steps/admin/admin_groups.rb
View file @
ce484fa9
...
@@ -56,6 +56,4 @@ class AdminGroups < Spinach::FeatureSteps
...
@@ -56,6 +56,4 @@ class AdminGroups < Spinach::FeatureSteps
def
current_group
def
current_group
@group
||=
Group
.
first
@group
||=
Group
.
first
end
end
end
end
features/steps/group/group.rb
View file @
ce484fa9
...
@@ -71,7 +71,7 @@ class Groups < Spinach::FeatureSteps
...
@@ -71,7 +71,7 @@ class Groups < Spinach::FeatureSteps
end
end
def
project
def
project
current_group
.
authorized_
projects
.
first
current_group
.
projects
.
first
end
end
def
assigned_to_me
key
def
assigned_to_me
key
...
...
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