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
a6927137
Commit
a6927137
authored
Jan 15, 2016
by
Rémy Coutable
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Streamline item titles to use a single class, and add back strong tags
parent
d00725a1
Changes
9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
12 additions
and
20 deletions
+12
-20
app/assets/stylesheets/framework/common.scss
app/assets/stylesheets/framework/common.scss
+2
-0
app/assets/stylesheets/pages/branches.scss
app/assets/stylesheets/pages/branches.scss
+0
-3
app/assets/stylesheets/pages/groups.scss
app/assets/stylesheets/pages/groups.scss
+0
-5
app/assets/stylesheets/pages/tags.scss
app/assets/stylesheets/pages/tags.scss
+0
-3
app/views/projects/branches/_branch.html.haml
app/views/projects/branches/_branch.html.haml
+2
-2
app/views/projects/commits/_commit.html.haml
app/views/projects/commits/_commit.html.haml
+1
-1
app/views/projects/tags/_tag.html.haml
app/views/projects/tags/_tag.html.haml
+4
-3
app/views/projects/tags/show.html.haml
app/views/projects/tags/show.html.haml
+1
-1
app/views/shared/groups/_group.html.haml
app/views/shared/groups/_group.html.haml
+2
-2
No files found.
app/assets/stylesheets/framework/common.scss
View file @
a6927137
...
...
@@ -75,6 +75,8 @@ hr {
@include
str-truncated
;
}
.item-title
{
font-weight
:
600
;
}
/** FLASH message **/
.author_link
{
color
:
$gl-link-color
;
...
...
app/assets/stylesheets/pages/branches.scss
deleted
100644 → 0
View file @
d00725a1
.branch-name
{
font-weight
:
600
;
}
app/assets/stylesheets/pages/groups.scss
View file @
a6927137
...
...
@@ -11,8 +11,3 @@
height
:
42px
;
}
}
.content-list
.group-name
{
font-weight
:
600
;
color
:
#4c4e54
;
}
app/assets/stylesheets/pages/tags.scss
deleted
100644 → 0
View file @
d00725a1
.tag-name
{
font-weight
:
600
;
}
app/views/projects/branches/_branch.html.haml
View file @
a6927137
-
commit
=
@repository
.
commit
(
branch
.
target
)
-
bar_graph_width_factor
=
@max_commits
>
0
?
100.0
/
@max_commits
:
0
-
diverging_commit_counts
=
@repository
.
diverging_commit_counts
(
branch
)
-
diverging_commit_counts
=
@repository
.
diverging_commit_counts
(
branch
)
-
number_commits_behind
=
diverging_commit_counts
[
:behind
]
-
number_commits_ahead
=
diverging_commit_counts
[
:ahead
]
%li
(
class=
"js-branch-#{branch.name}"
)
%div
=
link_to
namespace_project_tree_path
(
@project
.
namespace
,
@project
,
branch
.
name
)
do
.branch-nam
e.str-truncated
=
branch
.
name
%strong
.item-titl
e.str-truncated
=
branch
.
name
-
if
branch
.
name
==
@repository
.
root_ref
%span
.label.label-primary
default
...
...
app/views/projects/commits/_commit.html.haml
View file @
a6927137
...
...
@@ -11,7 +11,7 @@
=
cache
(
cache_key
)
do
%li
.commit.js-toggle-container
{
id:
"commit-#{commit.short_id}"
}
.commit-row-title
.
title.str-truncated
%strong
.item-
title.str-truncated
=
link_to_gfm
commit
.
title
,
namespace_project_commit_path
(
project
.
namespace
,
project
,
commit
.
id
),
class:
"commit-row-message"
-
if
commit
.
description?
%a
.text-expander.js-toggle-button
...
...
...
app/views/projects/tags/_tag.html.haml
View file @
a6927137
...
...
@@ -2,9 +2,10 @@
-
release
=
@releases
.
find
{
|
release
|
release
.
tag
==
tag
.
name
}
%li
%div
=
link_to
namespace_project_tag_path
(
@project
.
namespace
,
@project
,
tag
.
name
),
class:
'tag-name'
do
=
icon
(
'tag'
)
=
tag
.
name
=
link_to
namespace_project_tag_path
(
@project
.
namespace
,
@project
,
tag
.
name
)
do
%strong
.item-title
=
icon
(
'tag'
)
=
tag
.
name
-
if
tag
.
message
.
present?
=
strip_gpg_signature
(
tag
.
message
)
...
...
app/views/projects/tags/show.html.haml
View file @
a6927137
...
...
@@ -17,7 +17,7 @@
.pull-right
=
link_to
namespace_project_tag_path
(
@project
.
namespace
,
@project
,
@tag
.
name
),
class:
'btn btn-remove remove-row grouped has_tooltip'
,
title:
"Delete tag"
,
method: :delete
,
data:
{
confirm:
"Deleting the '
#{
@tag
.
name
}
' tag cannot be undone. Are you sure?"
}
do
%i
.fa.fa-trash-o
.tag-name.
title
%strong
.item-
title
=
@tag
.
name
-
if
@tag
.
message
.
present?
%span
.light
...
...
app/views/shared/groups/_group.html.haml
View file @
a6927137
...
...
@@ -10,7 +10,8 @@
%i
.fa.fa-sign-out
=
image_tag
group_icon
(
group
),
class:
"avatar s46 hidden-xs"
=
link_to
group
.
name
,
group
,
class:
'group-name'
=
link_to
group
,
class:
'group-name'
do
%strong
.item-title
=
group
.
name
-
if
group_member
as
...
...
@@ -18,4 +19,3 @@
%div
.light
#{
pluralize
(
group
.
projects
.
count
,
"project"
)
}
,
#{
pluralize
(
group
.
users
.
count
,
"user"
)
}
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