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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
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"
-
page_title
@snippet
.
title
,
"Snippets"
%h
3
.page-title
%h
4
.page-title
=
@snippet
.
title
=
@snippet
.
title
-
if
@snippet
.
private?
-
if
@snippet
.
private?
...
@@ -8,17 +8,14 @@
...
@@ -8,17 +8,14 @@
private
private
.pull-right
.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
Add new snippet
%hr
.append-bottom-
2
0
.append-bottom-
10.prepend-top-1
0
.pull-right
.pull-right
=
"#
#{
@snippet
.
id
}
"
%span
.light
%span
.light
by
created
by
=
link_to
user_snippets_path
(
@snippet
.
author
)
do
=
link_to
user_snippets_path
(
@snippet
.
author
)
do
=
image_tag
avatar_icon
(
@snippet
.
author_email
),
class:
"avatar avatar-inline s16"
,
alt:
''
=
@snippet
.
author_name
=
@snippet
.
author_name
.back-link
.back-link
...
@@ -27,7 +24,7 @@
...
@@ -27,7 +24,7 @@
←
your snippets
←
your snippets
-
else
-
else
=
link_to
snippets_path
do
=
link_to
snippets_path
do
←
discover
snippets
←
explore
snippets
.file-holder
.file-holder
.file-title
.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