diff options
author | Nick Schonning <nschonni@gmail.com> | 2023-03-14 23:15:36 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-15 04:15:36 +0100 |
commit | 75131e7bf7f3d96cf325e674e6b76b0096382e99 (patch) | |
tree | 82984365a01b85c74037554d34194d0dfbeb6dff /app/views/settings | |
parent | a232a1feb804e22507ca104ca0aaf21a7c70cb26 (diff) |
Setup haml-lint CI with todo config (#23524)
Diffstat (limited to 'app/views/settings')
-rw-r--r-- | app/views/settings/applications/index.html.haml | 2 | ||||
-rw-r--r-- | app/views/settings/applications/show.html.haml | 4 | ||||
-rw-r--r-- | app/views/settings/login_activities/index.html.haml | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/app/views/settings/applications/index.html.haml b/app/views/settings/applications/index.html.haml index a1f904a3a..5c31d56bc 100644 --- a/app/views/settings/applications/index.html.haml +++ b/app/views/settings/applications/index.html.haml @@ -5,7 +5,7 @@ = link_to t('doorkeeper.applications.index.new'), new_settings_application_path, class: 'button' - if @applications.empty? - %div.muted-hint.center-text=t 'doorkeeper.applications.index.empty' + .muted-hint.center-text= t 'doorkeeper.applications.index.empty' - else .table-wrapper %table.table diff --git a/app/views/settings/applications/show.html.haml b/app/views/settings/applications/show.html.haml index 390682d6f..466a8ba34 100644 --- a/app/views/settings/applications/show.html.haml +++ b/app/views/settings/applications/show.html.haml @@ -6,7 +6,7 @@ .table-wrapper %table.table %tbody - %tr + %tr %th= t('doorkeeper.applications.show.application_id') %td %code= @application.uid @@ -15,7 +15,7 @@ %td %code= @application.secret %tr - %th{ rowspan: 2}= t('applications.your_token') + %th{ rowspan: 2 }= t('applications.your_token') %td %code= current_user.token_for_app(@application).token %tr diff --git a/app/views/settings/login_activities/index.html.haml b/app/views/settings/login_activities/index.html.haml index ce524fbef..6fb1bc34c 100644 --- a/app/views/settings/login_activities/index.html.haml +++ b/app/views/settings/login_activities/index.html.haml @@ -6,7 +6,7 @@ %hr.spacer/ - if @login_activities.empty? - %div.muted-hint.center-text + .muted-hint.center-text = t 'login_activities.empty' - else .announcements-list |