Skip to content
代码片段 群组 项目
提交 b95c3885 编辑于 作者: Brandon Labuschagne's avatar Brandon Labuschagne
浏览文件

Move productivity_analytics.scss into page bundle

There are no visual changes as a result of this
commit.
上级 fff3b3aa
No related branches found
No related tags found
无相关合并请求
...@@ -189,6 +189,7 @@ class Application < Rails::Application ...@@ -189,6 +189,7 @@ class Application < Rails::Application
config.assets.precompile << "page_bundles/milestone.css" config.assets.precompile << "page_bundles/milestone.css"
config.assets.precompile << "page_bundles/pipeline.css" config.assets.precompile << "page_bundles/pipeline.css"
config.assets.precompile << "page_bundles/pipelines.css" config.assets.precompile << "page_bundles/pipelines.css"
config.assets.precompile << "page_bundles/productivity_analytics.css"
config.assets.precompile << "page_bundles/todos.css" config.assets.precompile << "page_bundles/todos.css"
config.assets.precompile << "page_bundles/reports.css" config.assets.precompile << "page_bundles/reports.css"
config.assets.precompile << "page_bundles/xterm.css" config.assets.precompile << "page_bundles/xterm.css"
......
@import 'page_bundles/mixins_and_variables_and_functions';
.dropdown-container { .dropdown-container {
flex: 0 0 25%; flex: 0 0 25%;
width: 25%; width: 25%;
...@@ -121,7 +123,7 @@ ...@@ -121,7 +123,7 @@
.mr-title { .mr-title {
a { a {
color: $gl-text-color; color: var(--gl-text-color, $gl-text-color);
} }
} }
} }
- page_title _('Productivity Analytics') - page_title _('Productivity Analytics')
- add_page_specific_style 'page_bundles/productivity_analytics'
- data_attributes = @request_params.valid? ? @request_params.to_data_attributes : @request_params.to_default_data_attributes - data_attributes = @request_params.valid? ? @request_params.to_data_attributes : @request_params.to_default_data_attributes
#js-productivity-analytics{ data: data_attributes.merge(hide_group_drop_down: 'true') } #js-productivity-analytics{ data: data_attributes.merge(hide_group_drop_down: 'true') }
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册