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
Jérome Perrin
gitlab-ce
Commits
ed4dcf74
Commit
ed4dcf74
authored
Mar 25, 2013
by
Andrew8xx8
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
View improved. Pagination added
parent
3d3e40c2
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
10 deletions
+6
-10
app/views/snippets/_snippets.html.haml
app/views/snippets/_snippets.html.haml
+2
-0
app/views/snippets/index.html.haml
app/views/snippets/index.html.haml
+3
-9
app/views/snippets/show.html.haml
app/views/snippets/show.html.haml
+1
-1
No files found.
app/views/snippets/_snippets.html.haml
View file @
ed4dcf74
...
...
@@ -11,3 +11,5 @@
%tr
%td
{
colspan:
4
}
%h3
.nothing_here_message
Nothing here.
=
paginate
@snippets
app/views/snippets/index.html.haml
View file @
ed4dcf74
%h3
.page_title
S
nippets
Public s
nippets
%small
share code pastes with others out of git repository
=
link_to
new_snippet_path
,
class:
"btn btn-small add_new pull-right"
,
title:
"New Snippet"
do
Add new snippet
%hr
.row
.span3
%ul
.nav.nav-pills.nav-stacked
=
nav_tab
:scope
,
nil
do
=
link_to
"All"
,
snippets_path
=
nav_tab
:scope
,
'projects'
do
=
link_to
"Projects"
,
snippets_path
(
scope:
'projects'
)
.span9
.span12
=
render
'snippets'
app/views/snippets/show.html.haml
View file @
ed4dcf74
...
...
@@ -2,7 +2,7 @@
-
if
@snippet
.
private?
%i
.icon-lock
-
else
%i
.icon-globe
%i
.icon-globe
.public-snippet
=
@snippet
.
title
%small
=
@snippet
.
file_name
...
...
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