Read about our upcoming Code of Conduct on this issue

This instance was upgraded to Heptapod 0.28.1 today

Unverified Commit f9dc3a2f authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets
Browse files

Add links from GitLab to CI


Signed-off-by: default avatarDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
parent 87d65b3c2feb
......@@ -119,6 +119,7 @@ def set_last_activity_at
has_many :starrers, through: :users_star_projects, source: :user
has_one :import_data, dependent: :destroy, class_name: "ProjectImportData"
has_one :gitlab_ci_project, dependent: :destroy, class_name: "Ci::Project", foreign_key: :gitlab_id
delegate :name, to: :owner, allow_nil: true, prefix: true
delegate :members, to: :team, prefix: true
......
......@@ -46,3 +46,8 @@
= icon('user fw')
%span
Profile Settings
= nav_link(controller: :ci) do
= link_to ci_root_path, title: 'Continuous Integration', data: {placement: 'right'} do
= icon('building fw')
%span
CI
......@@ -28,4 +28,8 @@
= render 'projects/buttons/dropdown'
- if @project.gitlab_ci?
= link_to ci_project_path(@project.gitlab_ci_project), class: 'btn btn-default' do
CI
= render "shared/clone_panel"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment