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
421b1115
Commit
421b1115
authored
Oct 21, 2011
by
gitlabhq
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
error fields highlight
parent
e7570250
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
2 deletions
+10
-2
app/assets/stylesheets/projects.css.scss
app/assets/stylesheets/projects.css.scss
+9
-0
app/models/project.rb
app/models/project.rb
+1
-2
No files found.
app/assets/stylesheets/projects.css.scss
View file @
421b1115
...
...
@@ -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 @
421b1115
...
...
@@ -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