Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
李少辉-开发者
gitlab-foss
提交
6e911a11
G
gitlab-foss
项目概览
李少辉-开发者
/
gitlab-foss
通知
15
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
G
gitlab-foss
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
6e911a11
编写于
11月 07, 2018
作者:
C
Constance Okoghenun
提交者:
Fatih Acet
11月 07, 2018
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
CE backport - Chart showing issues created per month
上级
24d3486f
变更
7
隐藏空白更改
内联
并排
Showing
7 changed file
with
14 addition
and
4 deletion
+14
-4
app/assets/javascripts/commons/polyfills.js
app/assets/javascripts/commons/polyfills.js
+1
-0
app/assets/javascripts/lib/utils/datetime_utility.js
app/assets/javascripts/lib/utils/datetime_utility.js
+1
-1
app/assets/stylesheets/framework/variables.scss
app/assets/stylesheets/framework/variables.scss
+5
-0
app/views/layouts/nav/sidebar/_group.html.haml
app/views/layouts/nav/sidebar/_group.html.haml
+2
-0
app/views/shared/boards/_show.html.haml
app/views/shared/boards/_show.html.haml
+1
-1
app/views/shared/issuable/_search_bar.html.haml
app/views/shared/issuable/_search_bar.html.haml
+2
-1
db/fixtures/development/09_issues.rb
db/fixtures/development/09_issues.rb
+2
-1
未找到文件。
app/assets/javascripts/commons/polyfills.js
浏览文件 @
6e911a11
...
...
@@ -5,6 +5,7 @@ import 'core-js/fn/array/find-index';
import
'
core-js/fn/array/from
'
;
import
'
core-js/fn/array/includes
'
;
import
'
core-js/fn/object/assign
'
;
import
'
core-js/fn/object/values
'
;
import
'
core-js/fn/promise
'
;
import
'
core-js/fn/string/code-point-at
'
;
import
'
core-js/fn/string/from-code-point
'
;
...
...
app/assets/javascripts/lib/utils/datetime_utility.js
浏览文件 @
6e911a11
...
...
@@ -14,7 +14,7 @@ window.timeago = timeago;
*
* @param {Boolean} abbreviated
*/
const
getMonthNames
=
abbreviated
=>
{
export
const
getMonthNames
=
abbreviated
=>
{
if
(
abbreviated
)
{
return
[
s__
(
'
Jan
'
),
...
...
app/assets/stylesheets/framework/variables.scss
浏览文件 @
6e911a11
...
...
@@ -641,3 +641,8 @@ Modals
$modal-body-height
:
134px
;
$priority-label-empty-state-width
:
114px
;
/*
Issues Analytics
*/
$issues-analytics-popover-boarder-color
:
rgba
(
0
,
0
,
0
,
0
.15
);
app/views/layouts/nav/sidebar/_group.html.haml
浏览文件 @
6e911a11
...
...
@@ -74,6 +74,8 @@
%span
=
boards_link_text
=
render_if_exists
'layouts/nav/issues_analytics_link'
-
if
group_sidebar_link?
(
:labels
)
=
nav_link
(
path:
'labels#index'
)
do
=
link_to
group_labels_path
(
@group
),
title:
_
(
'Labels'
)
do
...
...
app/views/shared/boards/_show.html.haml
浏览文件 @
6e911a11
...
...
@@ -10,7 +10,7 @@
-# haml-lint:disable InlineJavaScript
%script
#js-board-template
{
type:
"text/x-template"
}=
render
"shared/boards/components/board"
%script
#js-board-modal-filter
{
type:
"text/x-template"
}=
render
"shared/issuable/search_bar"
,
type: :boards_modal
%script
#js-board-modal-filter
{
type:
"text/x-template"
}=
render
"shared/issuable/search_bar"
,
type: :boards_modal
,
show_sorting_dropdown:
false
%script
#js-board-promotion
{
type:
"text/x-template"
}=
render_if_exists
"shared/promotions/promote_issue_board"
#board-app
.boards-app
{
"v-cloak"
=>
true
,
data:
board_data
,
":class"
=>
"{ 'is-compact': detailIssueVisible }"
}
...
...
app/views/shared/issuable/_search_bar.html.haml
浏览文件 @
6e911a11
...
...
@@ -3,6 +3,7 @@
-
block_css_class
=
type
!=
:boards_modal
?
'row-content-block second-block'
:
''
-
full_path
=
@project
.
present?
?
@project
.
full_path
:
@group
.
full_path
-
user_can_admin_list
=
board
&&
can?
(
current_user
,
:admin_list
,
board
.
parent
)
-
show_sorting_dropdown
=
local_assigns
.
fetch
(
:show_sorting_dropdown
,
true
)
.issues-filters
.issues-details-filters.filtered-search-block
{
class:
block_css_class
,
"v-pre"
=>
type
==
:boards_modal
}
...
...
@@ -140,5 +141,5 @@
-
if
@project
#js-add-issues-btn
.prepend-left-10
{
data:
{
can_admin_list:
can?
(
current_user
,
:admin_list
,
@project
)
}
}
#js-toggle-focus-btn
-
elsif
type
!=
:boards_modal
-
elsif
show_sorting_dropdown
=
render
'shared/sort_dropdown'
db/fixtures/development/09_issues.rb
浏览文件 @
6e911a11
...
...
@@ -8,7 +8,8 @@ Gitlab::Seeder.quiet do
description:
FFaker
::
Lorem
.
sentence
,
state:
[
'opened'
,
'closed'
].
sample
,
milestone:
project
.
milestones
.
sample
,
assignees:
[
project
.
team
.
users
.
sample
]
assignees:
[
project
.
team
.
users
.
sample
],
created_at:
rand
(
12
).
months
.
ago
}
Issues
::
CreateService
.
new
(
project
,
project
.
team
.
users
.
sample
,
issue_params
).
execute
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录