Add warning if user own projet but not in team. Also show loading when merge MR
This commit is contained in:
parent
d1e63c7df2
commit
ee43e9248c
4 changed files with 10 additions and 1 deletions
|
@ -6,6 +6,9 @@
|
|||
= render "layouts/head_panel", title: project_title(@project)
|
||||
- if can?(current_user, :download_code, @project)
|
||||
= render 'shared/no_ssh'
|
||||
|
||||
- unless @project.users.include?(current_user)
|
||||
= render 'shared/not_in_team'
|
||||
.container
|
||||
%ul.main_menu
|
||||
= nav_link(html_options: {class: "home #{project_tab_class}"}) do
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue