BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
72d15cc7
Commit
72d15cc7
authored
Oct 21, 2011
by
gitlabhq
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
error fields highlight
parent
1a9531c9
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
2 deletions
+10
-2
projects.css.scss
app/assets/stylesheets/projects.css.scss
+9
-0
project.rb
app/models/project.rb
+1
-2
No files found.
app/assets/stylesheets/projects.css.scss
View file @
72d15cc7
...
...
@@ -638,3 +638,12 @@ tbody tr:nth-child(2n) td, tbody tr.even td {
display
:none
;
}
}
.field_with_errors
{
input
[
type
=
"text"
],
input
[
type
=
"password"
],
textarea
{
background
:
none
repeat
scroll
0
0
#FFBBBB
}
}
app/models/project.rb
View file @
72d15cc7
...
...
@@ -35,7 +35,6 @@ class Project < ActiveRecord::Base
:presence
=>
true
validate
:check_limit
validate
:repo_name
after_destroy
:destroy_gitosis_project
...
...
@@ -172,7 +171,7 @@ class Project < ActiveRecord::Base
def
repo_name
if
path
==
"gitosis-admin"
errors
.
add
(
:path
,
"
Project path
like 'gitosis-admin' is not allowed"
)
errors
.
add
(
:path
,
" like 'gitosis-admin' is not allowed"
)
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