Adjusting design of profile and entry pages, linkify mentions in statuses

This commit is contained in:
Eugen Rochko
2016-03-05 23:42:40 +01:00
parent 6045b6cb18
commit ab80ebdeec
9 changed files with 75 additions and 41 deletions

View File

@ -3,7 +3,7 @@
%link{ rel: 'alternate', type: 'application/atom+xml', href: account_url(@account, format: 'atom') }/
.card
.avatar= image_tag @account.avatar.url(:medium)
.avatar= image_tag @account.avatar.url(:large)
.bio
%h1.name
= @account.display_name.blank? ? @account.username : @account.display_name

View File

@ -0,0 +1,6 @@
- content_for :content do
= yield
.footer
.domain= Rails.configuration.x.local_domain
= render template: "layouts/application"

View File

@ -22,7 +22,7 @@
= relative_time(status.reblog? ? status.reblog.created_at : status.created_at)
.content
= status.content.html_safe
= status.reblog? ? (status.reblog.local? ? linkify(status.reblog) : status.reblog.content.html_safe) : (status.local? ? linkify(status) : status.content.html_safe)
- if include_threads
- status.replies.each do |status|