Commit c3be5cf5 authored by Martin Wortschack's avatar Martin Wortschack

fix qa selector

parent e11053d0
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
.settings-content .settings-content
= render partial: 'repository_mirrors_form' = render partial: 'repository_mirrors_form'
%section.qa-repository-storage-settings.settings.as-repository-storage.no-animate#js-repository-storage-settings{ class: ('expanded' if expanded) } %section.settings.as-repository-storage.no-animate#js-repository-storage-settings{ class: ('expanded' if expanded) }
.settings-header .settings-header
%h4 %h4
= _('Repository storage') = _('Repository storage')
......
...@@ -47,7 +47,7 @@ ...@@ -47,7 +47,7 @@
.settings-content .settings-content
= render 'signin' = render 'signin'
%section.settings.as-terms.no-animate#js-terms-settings{ class: ('expanded' if expanded) } %section.qa-terms-settings.settings.as-terms.no-animate#js-terms-settings{ class: ('expanded' if expanded) }
.settings-header .settings-header
%h4 %h4
= _('Terms of Service and Privacy Policy') = _('Terms of Service and Privacy Policy')
......
...@@ -6,11 +6,12 @@ module QA ...@@ -6,11 +6,12 @@ module QA
include QA::Page::Settings::Common include QA::Page::Settings::Common
view 'app/views/admin/application_settings/show.html.haml' do view 'app/views/admin/application_settings/show.html.haml' do
element :repository_storage_settings element :terms_settings
end end
def expand_repository_storage(&block) def expand_repository_storage(&block)
expand_section(:repository_storage_settings) do
expand_section(:terms_settings) do
RepositoryStorage.perform(&block) RepositoryStorage.perform(&block)
end end
end end
......
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