From 48594b18e6285d87ee2f58daa08d356b571c8aa6 Mon Sep 17 00:00:00 2001 From: yhirano Date: Mon, 8 May 2017 10:35:25 +0900 Subject: Added haml-lint and fix warnings (#2773) * add haml_lint to Gemfile * add .haml-lint.yml * fix warnings of haml_lint --- app/views/accounts/_header.html.haml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'app/views/accounts/_header.html.haml') diff --git a/app/views/accounts/_header.html.haml b/app/views/accounts/_header.html.haml index ed13ab57c..6451a5573 100644 --- a/app/views/accounts/_header.html.haml +++ b/app/views/accounts/_header.html.haml @@ -1,4 +1,4 @@ -.card.h-card.p-author{ style: "background-image: url(#{account.header.url( :original)})" } +.card.h-card.p-author{ style: "background-image: url(#{account.header.url(:original)})" } - if user_signed_in? && current_account.id != account.id && !current_account.requested?(account) .controls - if current_account.following?(account) @@ -13,7 +13,7 @@ %h1.name %span.p-name.emojify= display_name(account) %small - %span= "@#{account.username}" + %span @#{account.username} = fa_icon('lock') if account.locked? .details .bio -- cgit