diff options
author | Kushal Pandya <kushal@gitlab.com> | 2016-12-22 17:52:05 +0530 |
---|---|---|
committer | Kushal Pandya <kushal@gitlab.com> | 2016-12-31 11:43:08 +0530 |
commit | 71000b24a48e4e6d15a37bb92ccc4758ff106c3e (patch) | |
tree | df32c119769fffba5da873d7b70caa820a58204f /app/views/sherlock | |
parent | fa432f0c07ff0add713288be3d03c26915ecef47 (diff) | |
download | gitlab-ce-71000b24a48e4e6d15a37bb92ccc4758ff106c3e.tar.gz |
HAMLLint: Fix `HtmlAttributes` offences
Diffstat (limited to 'app/views/sherlock')
-rw-r--r-- | app/views/sherlock/queries/show.html.haml | 4 | ||||
-rw-r--r-- | app/views/sherlock/transactions/show.html.haml | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/app/views/sherlock/queries/show.html.haml b/app/views/sherlock/queries/show.html.haml index fc2863dca8e..c45da6ee9a4 100644 --- a/app/views/sherlock/queries/show.html.haml +++ b/app/views/sherlock/queries/show.html.haml @@ -3,10 +3,10 @@ %ul.nav-links %li.active - %a(href="#tab-general" data-toggle="tab") + %a{ href: "#tab-general", data: { toggle: "tab" } } = t('sherlock.general') %li - %a(href="#tab-backtrace" data-toggle="tab") + %a{ href: "#tab-backtrace", data: { toggle: "tab" } } = t('sherlock.backtrace') .row-content-block diff --git a/app/views/sherlock/transactions/show.html.haml b/app/views/sherlock/transactions/show.html.haml index 8aa6b437d95..eab91e8fbe4 100644 --- a/app/views/sherlock/transactions/show.html.haml +++ b/app/views/sherlock/transactions/show.html.haml @@ -3,15 +3,15 @@ %ul.nav-links %li.active - %a(href="#tab-general" data-toggle="tab") + %a{ href: "#tab-general", data: { toggle: "tab" } } = t('sherlock.general') %li - %a(href="#tab-queries" data-toggle="tab") + %a{ href: "#tab-queries", data: { toggle: "tab" } } = t('sherlock.queries') %span.badge #{@transaction.queries.length} %li - %a(href="#tab-file-samples" data-toggle="tab") + %a{ href: "#tab-file-samples", data: { toggle: "tab" } } = t('sherlock.file_samples') %span.badge #{@transaction.file_samples.length} |