0
0
Fork 0

Prettier account and stream entry URLs

This commit is contained in:
Eugen Rochko 2017-03-22 19:26:22 +01:00
parent 33fac87e81
commit d6ed2eb512
8 changed files with 53 additions and 11 deletions

View file

@ -20,8 +20,8 @@
.account__header__content.p-note.emojify= Formatter.instance.simplified_format(@account)
.details-counters
.counter{ class: active_nav_class(account_url(@account)) }
= link_to account_url(@account), class: 'u-url u-uid' do
.counter{ class: active_nav_class(short_account_url(@account)) }
= link_to short_account_url(@account), class: 'u-url u-uid' do
%span.counter-label= t('accounts.posts')
%span.counter-number= number_with_delimiter @account.statuses.count
.counter{ class: active_nav_class(following_account_url(@account)) }