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
1
Merge Requests
1
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
nexedi
gitlab-ce
Commits
653ad161
Commit
653ad161
authored
Apr 04, 2016
by
Yorick Peterse
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of gitlab.com:gitlab-org/gitlab-ce into merge-ce-531e4b-to-master
parents
84ab8f54
b530cabd
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
17 additions
and
4 deletions
+17
-4
app/assets/javascripts/awards_handler.coffee
app/assets/javascripts/awards_handler.coffee
+2
-2
app/assets/stylesheets/framework/calendar.scss
app/assets/stylesheets/framework/calendar.scss
+6
-0
app/views/projects/ci/builds/_build.html.haml
app/views/projects/ci/builds/_build.html.haml
+1
-1
app/views/users/show.html.haml
app/views/users/show.html.haml
+1
-1
app/views/votes/_votes_block.html.haml
app/views/votes/_votes_block.html.haml
+2
-0
spec/factories/forked_project_links.rb
spec/factories/forked_project_links.rb
+5
-0
No files found.
app/assets/javascripts/awards_handler.coffee
View file @
653ad161
class
@
AwardsHandler
constructor
:
(
@
post_emoji_url
,
@
noteable_type
,
@
noteable_id
,
@
aliases
)
->
constructor
:
(
@
get_emojis_url
,
@
post_emoji_url
,
@
noteable_type
,
@
noteable_id
,
@
aliases
)
->
$
(
".js-add-award"
).
on
"click"
,
(
event
)
=>
event
.
stopPropagation
()
event
.
preventDefault
()
...
...
@@ -34,7 +34,7 @@ class @AwardsHandler
$
(
"#emoji_search"
).
focus
()
else
$
(
'.js-add-award'
).
addClass
"is-loading"
$
.
get
"/emojis"
,
(
response
)
=>
$
.
get
@
get_emojis_url
,
(
response
)
=>
$
(
'.js-add-award'
).
removeClass
"is-loading"
$
(
".js-award-holder"
).
append
response
setTimeout
=>
...
...
app/assets/stylesheets/framework/calendar.scss
View file @
653ad161
.calender-block
{
@media
(
min-width
:
$screen-sm-min
)
and
(
max-width
:
$screen-lg-min
)
{
overflow-x
:
scroll
;
}
}
.user-calendar-activities
{
.calendar_onclick_hr
{
padding
:
0
;
...
...
app/views/projects/ci/builds/_build.html.haml
View file @
653ad161
...
...
@@ -39,7 +39,7 @@
%td
=
build
.
name
.
pull-right
.
label-container
-
if
build
.
tags
.
any?
-
build
.
tags
.
each
do
|
tag
|
%span
.label.label-primary
...
...
app/views/users/show.html.haml
View file @
653ad161
...
...
@@ -87,7 +87,7 @@
%div
{
class:
container_class
}
.tab-content
#activity
.tab-pane
.gray-content-block.
white.second-block
.gray-content-block.
calender-block.white.second-block.hidden-xs
%div
{
class:
container_class
}
.user-calendar
{
data:
{
href:
user_calendar_path
}}
%h4
.center.light
...
...
app/views/votes/_votes_block.html.haml
View file @
653ad161
...
...
@@ -15,12 +15,14 @@
-
if
current_user
:javascript
var
get_emojis_url
=
"
#{
emojis_path
}
"
;
var
post_emoji_url
=
"
#{
award_toggle_namespace_project_notes_path
(
@project
.
namespace
,
@project
)
}
"
;
var
noteable_type
=
"
#{
votable
.
class
.
name
.
underscore
}
"
;
var
noteable_id
=
"
#{
votable
.
id
}
"
;
var
aliases
=
#{
AwardEmoji
.
aliases
.
to_json
}
;
window
.
awards_handler
=
new
AwardsHandler
(
get_emojis_url
,
post_emoji_url
,
noteable_type
,
noteable_id
,
...
...
spec/factories/forked_project_links.rb
View file @
653ad161
...
...
@@ -13,5 +13,10 @@ FactoryGirl.define do
factory
:forked_project_link
do
association
:forked_to_project
,
factory: :project
association
:forked_from_project
,
factory: :project
after
(
:create
)
do
|
link
|
link
.
forked_from_project
.
reload
link
.
forked_to_project
.
reload
end
end
end
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