Commit 0c884498d2efa02432d553ddb51361e7ba59da8f
1 parent
0eccc080
Exists in
master
and in
4 other branches
Rename project_head partial to settings_nav
Showing
15 changed files
with
36 additions
and
34 deletions
Show diff stats
app/views/deploy_keys/index.html.haml
| 1 | -= render "repositories/head" | 1 | += render "projects/settings_nav" |
| 2 | 2 | ||
| 3 | %p.slead | 3 | %p.slead |
| 4 | Deploy keys allow read-only access to repository. It matches perfectly for CI, staging or production servers. | 4 | Deploy keys allow read-only access to repository. It matches perfectly for CI, staging or production servers. |
app/views/deploy_keys/new.html.haml
app/views/deploy_keys/show.html.haml
app/views/hooks/index.html.haml
app/views/projects/_project_head.html.haml
| @@ -1,21 +0,0 @@ | @@ -1,21 +0,0 @@ | ||
| 1 | -%ul.nav.nav-tabs | ||
| 2 | - = nav_link(path: 'projects#edit') do | ||
| 3 | - = link_to edit_project_path(@project), class: "stat-tab tab " do | ||
| 4 | - %i.icon-edit | ||
| 5 | - Edit | ||
| 6 | - = nav_link(controller: [:team_members, :teams]) do | ||
| 7 | - = link_to project_team_index_path(@project), class: "team-tab tab" do | ||
| 8 | - %i.icon-user | ||
| 9 | - Team | ||
| 10 | - = nav_link(controller: :deploy_keys) do | ||
| 11 | - = link_to project_deploy_keys_path(@project) do | ||
| 12 | - %span | ||
| 13 | - Deploy Keys | ||
| 14 | - = nav_link(controller: :hooks) do | ||
| 15 | - = link_to project_hooks_path(@project) do | ||
| 16 | - %span | ||
| 17 | - Hooks | ||
| 18 | - = nav_link(controller: :services) do | ||
| 19 | - = link_to project_services_path(@project) do | ||
| 20 | - %span | ||
| 21 | - Services |
| @@ -0,0 +1,21 @@ | @@ -0,0 +1,21 @@ | ||
| 1 | +%ul.nav.nav-tabs | ||
| 2 | + = nav_link(path: 'projects#edit') do | ||
| 3 | + = link_to edit_project_path(@project), class: "stat-tab tab " do | ||
| 4 | + %i.icon-edit | ||
| 5 | + Edit | ||
| 6 | + = nav_link(controller: [:team_members, :teams]) do | ||
| 7 | + = link_to project_team_index_path(@project), class: "team-tab tab" do | ||
| 8 | + %i.icon-user | ||
| 9 | + Team | ||
| 10 | + = nav_link(controller: :deploy_keys) do | ||
| 11 | + = link_to project_deploy_keys_path(@project) do | ||
| 12 | + %span | ||
| 13 | + Deploy Keys | ||
| 14 | + = nav_link(controller: :hooks) do | ||
| 15 | + = link_to project_hooks_path(@project) do | ||
| 16 | + %span | ||
| 17 | + Hooks | ||
| 18 | + = nav_link(controller: :services) do | ||
| 19 | + = link_to project_services_path(@project) do | ||
| 20 | + %span | ||
| 21 | + Services |
app/views/projects/edit.html.haml
app/views/projects/empty.html.haml
app/views/projects/teams/available.html.haml
app/views/repositories/_head.html.haml
| @@ -1 +0,0 @@ | @@ -1 +0,0 @@ | ||
| 1 | -= render "projects/project_head" |
app/views/services/edit.html.haml
app/views/services/index.html.haml
app/views/team_members/import.html.haml
app/views/team_members/index.html.haml
app/views/team_members/new.html.haml