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
6c1b4485
Commit
6c1b4485
authored
Nov 17, 2012
by
Riyad Preukschas
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix Haml indenting file content
parent
b339c747
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
app/assets/stylesheets/sections/editor.scss
app/assets/stylesheets/sections/editor.scss
+4
-1
app/views/tree/edit.html.haml
app/views/tree/edit.html.haml
+1
-1
No files found.
app/assets/stylesheets/sections/editor.scss
View file @
6c1b4485
.file-editor
{
.file-editor
{
#editor
{
#editor
{
border
:
none
;
height
:
500px
;
height
:
500px
;
width
:
100%
;
margin
:
0
;
padding
:
0
;
position
:
relative
;
position
:
relative
;
width
:
100%
;
}
}
.editor-commit-comment
{
.editor-commit-comment
{
padding-top
:
20px
;
padding-top
:
20px
;
...
...
app/views/tree/edit.html.haml
View file @
6c1b4485
...
@@ -6,7 +6,7 @@
...
@@ -6,7 +6,7 @@
%span
.file_name
%span
.file_name
=
"
#{
@tree
.
path
}
(
#{
@ref
}
)"
=
"
#{
@tree
.
path
}
(
#{
@ref
}
)"
.file_content.code
.file_content.code
#editor
=
@tree
.
data
%pre
#editor
=
@tree
.
data
.editor-commit-comment
.editor-commit-comment
=
label_tag
'commit_message'
do
=
label_tag
'commit_message'
do
...
...
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