BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
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
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
10 deletions
+6
-10
_snippets.html.haml
app/views/snippets/_snippets.html.haml
+2
-0
index.html.haml
app/views/snippets/index.html.haml
+3
-9
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 @@
...
@@ -11,3 +11,5 @@
%tr
%tr
%td
{
colspan:
4
}
%td
{
colspan:
4
}
%h3
.nothing_here_message
Nothing here.
%h3
.nothing_here_message
Nothing here.
=
paginate
@snippets
app/views/snippets/index.html.haml
View file @
ed4dcf74
%h3
.page_title
%h3
.page_title
S
nippets
Public s
nippets
%small
share code pastes with others out of git repository
%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
=
link_to
new_snippet_path
,
class:
"btn btn-small add_new pull-right"
,
title:
"New Snippet"
do
Add new snippet
Add new snippet
%hr
%hr
.row
.row
.span3
.span12
%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
=
render
'snippets'
=
render
'snippets'
app/views/snippets/show.html.haml
View file @
ed4dcf74
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
-
if
@snippet
.
private?
-
if
@snippet
.
private?
%i
.icon-lock
%i
.icon-lock
-
else
-
else
%i
.icon-globe
%i
.icon-globe
.public-snippet
=
@snippet
.
title
=
@snippet
.
title
%small
=
@snippet
.
file_name
%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