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
8129e2f3
Commit
8129e2f3
authored
Aug 20, 2015
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Small ui improvements to snippet page
Signed-off-by:
Dmitriy Zaporozhets
<
dmitriy.zaporozhets@gmail.com
>
parent
0d8ad2dd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
8 deletions
+5
-8
app/views/snippets/show.html.haml
app/views/snippets/show.html.haml
+5
-8
No files found.
app/views/snippets/show.html.haml
View file @
8129e2f3
-
page_title
@snippet
.
title
,
"Snippets"
%h
3
.page-title
%h
4
.page-title
=
@snippet
.
title
-
if
@snippet
.
private?
...
...
@@ -8,17 +8,14 @@
private
.pull-right
=
link_to
new_snippet_path
,
class:
"btn btn-new"
,
title:
"New Snippet"
do
=
link_to
new_snippet_path
,
class:
"btn btn-new
btn-sm
"
,
title:
"New Snippet"
do
Add new snippet
%hr
.append-bottom-
2
0
.append-bottom-
10.prepend-top-1
0
.pull-right
=
"#
#{
@snippet
.
id
}
"
%span
.light
by
created
by
=
link_to
user_snippets_path
(
@snippet
.
author
)
do
=
image_tag
avatar_icon
(
@snippet
.
author_email
),
class:
"avatar avatar-inline s16"
,
alt:
''
=
@snippet
.
author_name
.back-link
...
...
@@ -27,7 +24,7 @@
←
your snippets
-
else
=
link_to
snippets_path
do
←
discover
snippets
←
explore
snippets
.file-holder
.file-title
...
...
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