diff options
| author | Jose Ivan Vargas <jvargas@gitlab.com> | 2017-02-17 11:28:52 -0600 |
|---|---|---|
| committer | Jose Ivan Vargas <jvargas@gitlab.com> | 2017-02-23 15:47:23 -0600 |
| commit | bcab4bb5efd1cc499dc7d753115fe91b98f27bda (patch) | |
| tree | 712923e168785037162b4c96fe6c9705db84fa4c /spec/javascripts/fixtures | |
| parent | 19a21107d7f4a256271306ae10bb376dfbc8bbad (diff) | |
| download | gitlab-ce-bcab4bb5efd1cc499dc7d753115fe91b98f27bda.tar.gz | |
Changed the javascript class from using the global scope to exporting it via webpack
Also improved accesibility and change the id from user_callouts to a class
Diffstat (limited to 'spec/javascripts/fixtures')
| -rw-r--r-- | spec/javascripts/fixtures/user_callout.html.haml | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/spec/javascripts/fixtures/user_callout.html.haml b/spec/javascripts/fixtures/user_callout.html.haml index 2aa6bf4b604..430e6c829ef 100644 --- a/spec/javascripts/fixtures/user_callout.html.haml +++ b/spec/javascripts/fixtures/user_callout.html.haml @@ -1,6 +1,7 @@ -#user-callout +.user-callout .bordered-box.landing.content-block - %i.fa.fa-times.dismiss-icon + %button.btn.btn-default.close{ type: "button" } + %i.fa.fa-times.dismiss-icon .row .col-sm-3.col-xs-12.svg-container .col-sm-8.col-xs-12.inner-content @@ -9,4 +10,4 @@ %p Change syntax themes, default project pages, and more in preferences. %a{ href: 'foo', class:'user-callout-btn' } - Check it out
\ No newline at end of file + Check it out |
