Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
heptapod
heptapod
Commits
de81ee1628d9
Unverified
Commit
58667862
authored
Dec 29, 2013
by
Dmitriy Zaporozhets
Browse files
Restyle README section
Signed-off-by:
Dmitriy Zaporozhets
<
dmitriy.zaporozhets@gmail.com
>
parent
befcad229336
Changes
2
Hide whitespace changes
Inline
Side-by-side
app/assets/stylesheets/sections/tree.scss
View file @
de81ee16
...
...
@@ -113,3 +113,14 @@
float
:
left
;
margin-top
:
5px
;
}
.readme-holder
{
border-top
:
1px
dashed
#CCC
;
padding-top
:
10px
;
h4
{
font-size
:
14px
;
margin-bottom
:
20px
;
color
:
#777
;
}
}
app/views/projects/tree/_readme.html.haml
View file @
de81ee16
.
fil
e-holder
#README
.file-title
.
readm
e-holder
#README
%h4
%i
.icon-file
=
readme
.
name
.file-content
.wiki
=
readme
.
name
.wiki
-
if
gitlab_markdown?
(
readme
.
name
)
=
preserve
do
=
markdown
(
readme
.
data
)
...
...
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