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
ef646928
Commit
ef646928
authored
Mar 01, 2013
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
better presenting for group description
parent
87f555e1
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
9 additions
and
13 deletions
+9
-13
app/assets/stylesheets/gitlab_bootstrap/common.scss
app/assets/stylesheets/gitlab_bootstrap/common.scss
+2
-0
app/views/groups/new.html.haml
app/views/groups/new.html.haml
+1
-2
app/views/groups/show.html.haml
app/views/groups/show.html.haml
+3
-5
app/views/teams/new.html.haml
app/views/teams/new.html.haml
+0
-1
app/views/teams/show.html.haml
app/views/teams/show.html.haml
+3
-5
No files found.
app/assets/stylesheets/gitlab_bootstrap/common.scss
View file @
ef646928
...
...
@@ -30,6 +30,8 @@
border-color
:
#DDD
;
}
.well
{
padding
:
15px
;
}
/** HELPERS **/
.nothing_here_message
{
text-align
:
center
;
...
...
app/views/groups/new.html.haml
View file @
ef646928
...
...
@@ -16,10 +16,9 @@
=
f
.
text_area
:description
,
maxlength:
250
,
class:
"xxlarge js-gfm-input"
,
rows:
4
.form-actions
=
f
.
submit
'Create group'
,
class:
"btn btn-
primary
"
=
f
.
submit
'Create group'
,
class:
"btn btn-
create
"
%hr
.padded
%ul
%li
Group is kind of directory for several projects
...
...
app/views/groups/show.html.haml
View file @
ef646928
-
if
@group
.
description
.
present?
.description
=
@group
.
description
%hr
.projects
.activities.span8
=
render
"events/event_last_push"
,
event:
@last_push
...
...
@@ -17,6 +12,9 @@
%p
.nothing_here_message
Project activity will be displayed here
.loading.hide
.side.span4
-
if
@group
.
description
.
present?
.description.well.light
=
@group
.
description
=
render
"projects"
,
projects:
@projects
%div
%span
.rss-icon
...
...
app/views/teams/new.html.haml
View file @
ef646928
...
...
@@ -18,7 +18,6 @@
.form-actions
=
f
.
submit
'Create team'
,
class:
"btn btn-create"
%hr
.padded
%ul
%li
All created teams are public (users can view who enter into team and which project are assigned for this team)
...
...
app/views/teams/show.html.haml
View file @
ef646928
-
if
@team
.
description
.
present?
.description
=
@team
.
description
%hr
.projects
.activities.span8
=
link_to
dashboard_path
,
class:
'btn btn-tiny'
do
...
...
@@ -16,6 +11,9 @@
%p
.nothing_here_message
Projects activity will be displayed here
.loading.hide
.side.span4
-
if
@team
.
description
.
present?
.description.well.light
=
@team
.
description
=
render
"projects"
,
projects:
@projects
%div
%span
.rss-icon
...
...
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