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
Léo-Paul Géneau
gitlab-ce
Commits
0ded38cc
Commit
0ded38cc
authored
Jan 25, 2017
by
dimitrieh
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed points from comments to improve code quality
parent
55d28e56
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
4 deletions
+5
-4
app/assets/stylesheets/pages/tree.scss
app/assets/stylesheets/pages/tree.scss
+4
-0
app/views/projects/tree/_tree_content.html.haml
app/views/projects/tree/_tree_content.html.haml
+1
-4
No files found.
app/assets/stylesheets/pages/tree.scss
View file @
0ded38cc
...
...
@@ -32,6 +32,10 @@
.last-commit
{
@include
str-truncated
(
506px
);
.fa-angle-right
{
margin-left
:
5px
;
}
@media
(
min-width
:
$screen-md-min
)
and
(
max-width
:
$screen-md-max
)
{
@include
str-truncated
(
450px
);
}
...
...
app/views/projects/tree/_tree_content.html.haml
View file @
0ded38cc
...
...
@@ -7,15 +7,12 @@
%th
.hidden-xs
.pull-left
Last commit
.last-commit.hidden-sm.pull-left
%i
.fa.fa-angle-right
%small
.light
=
link_to
@commit
.
short_id
,
namespace_project_commit_path
(
@project
.
namespace
,
@project
,
@commit
),
class:
"monospace"
=
clipboard_button
(
clipboard_text:
@commit
.
id
,
title:
"Copy commit SHA to clipboard"
)
=
time_ago_with_tooltip
(
@commit
.
committed_date
)
:plain
-
\-
=
@commit
.
full_title
%small
.commit-history-link-spacer
|
=
link_to
'History'
,
namespace_project_commits_path
(
@project
.
namespace
,
@project
,
@id
),
class:
'commit-history-link'
...
...
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