Skip to content

Commit e7941e2

Browse files
rootNicolas Rodriguez
root
authored and
Nicolas Rodriguez
committed
Minor change
1 parent b3f7775 commit e7941e2

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

Diff for: app/views/repositories/_edit_top.html.haml

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
- if @repository.is_a?(Repository::Xitolite)
22
= render 'common/git_hosting_js_headers'
33

4-
%div{ class: 'git_hosting box' }
4+
.git_hosting.box
55
%h3
66
= l(:label_repository_access_url)
77
= link_to l(:label_sort_urls), sort_urls_repository_git_extras_path(@repository), class: 'modal-box-close-only' unless @repository.git_annex_enabled?
88

9-
= render partial: 'common/git_urls', locals: { repository: @repository }
9+
= render 'common/git_urls', repository: @repository
1010

11-
:javascript
12-
$(document).ready(function() { initModalBoxes(modals); });
11+
:javascript
12+
$(document).ready(function() { initModalBoxes(modals); });

Diff for: app/views/repositories/edit.html.haml

+3-3
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@
22
= render_repository_quick_jump(@repository)
33

44
%h2
5-
= link_to l(:label_settings), settings_project_path(@repository.project, tab: 'repositories')
5+
= link_to l(:label_settings), settings_project_path(@project, tab: 'repositories')
66
»
77
= l(:label_repository)
88
»
99
= @repository.redmine_name
1010

1111
.container
1212
.row
13-
.col-md-12= call_hook(:view_repository_edit_top)
13+
.col-md-12= call_hook(:view_repository_edit_top, { repository: @repository, project: @project })
1414

1515
.container
1616
.row
@@ -22,4 +22,4 @@
2222

2323
.container
2424
.row
25-
.col-md-12= call_hook(:view_repository_edit_bottom)
25+
.col-md-12= call_hook(:view_repository_edit_bottom, { repository: @repository, project: @project })

0 commit comments

Comments
 (0)