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
Kazuhiko Shiozaki
gitlab-ce
Commits
910a99f9
Commit
910a99f9
authored
Jun 06, 2014
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improve tree view for mobile
Signed-off-by:
Dmitriy Zaporozhets
<
dmitriy.zaporozhets@gmail.com
>
parent
dd03841f
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
8 deletions
+6
-8
app/views/projects/tree/_blob_item.html.haml
app/views/projects/tree/_blob_item.html.haml
+1
-1
app/views/projects/tree/_submodule_item.html.haml
app/views/projects/tree/_submodule_item.html.haml
+1
-2
app/views/projects/tree/_tree.html.haml
app/views/projects/tree/_tree.html.haml
+3
-4
app/views/projects/tree/_tree_item.html.haml
app/views/projects/tree/_tree_item.html.haml
+1
-1
No files found.
app/views/projects/tree/_blob_item.html.haml
View file @
910a99f9
...
...
@@ -5,4 +5,4 @@
=
link_to
blob_item
.
name
,
project_blob_path
(
@project
,
tree_join
(
@id
||
@commit
.
id
,
blob_item
.
name
))
%td
.tree_time_ago.cgray
=
render
'spinner'
%td
.tree_commit
{
colspan:
2
}
%td
.
hidden-xs.
tree_commit
{
colspan:
2
}
app/views/projects/tree/_submodule_item.html.haml
View file @
910a99f9
...
...
@@ -11,5 +11,4 @@
-
else
=
link_to
"
#{
submodule_item
.
id
[
0
..
10
]
}
"
,
commit
%td
%td
%td
%td
.hidden-xs
app/views/projects/tree/_tree.html.haml
View file @
910a99f9
...
...
@@ -20,7 +20,7 @@
%tr
%th
Name
%th
Last Update
%th
.hidden-sm
%th
.hidden-sm
.hidden-xs
Last Commit
%span
.last-commit
...
...
@@ -30,15 +30,14 @@
=
link_to
@commit
.
short_id
,
project_commit_path
(
@project
,
@commit
)
–
=
truncate
(
@commit
.
title
,
length:
50
)
%th
=
link_to
"history"
,
project_commits_path
(
@project
,
@id
),
class:
"pull-right"
=
link_to
"history"
,
project_commits_path
(
@project
,
@id
),
class:
"pull-right"
-
if
@path
.
present?
%tr
.tree-item
%td
.tree-item-file-name
=
link_to
".."
,
project_tree_path
(
@project
,
up_dir_path
(
tree
)),
class:
'prepend-left-10'
%td
%td
%td
%td
.hidden-xs
=
render_tree
(
tree
)
...
...
app/views/projects/tree/_tree_item.html.haml
View file @
910a99f9
...
...
@@ -5,4 +5,4 @@
=
link_to
tree_item
.
name
,
project_tree_path
(
@project
,
tree_join
(
@id
||
@commit
.
id
,
tree_item
.
name
))
%td
.tree_time_ago.cgray
=
render
'spinner'
%td
.tree_commit
{
colspan:
2
}
%td
.
hidden-xs.
tree_commit
{
colspan:
2
}
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