Adjusting design of profile and entry pages, linkify mentions in statuses
This commit is contained in:
@ -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
|
||||
|
6
app/views/layouts/public.html.haml
Normal file
6
app/views/layouts/public.html.haml
Normal file
@ -0,0 +1,6 @@
|
||||
- content_for :content do
|
||||
= yield
|
||||
.footer
|
||||
.domain= Rails.configuration.x.local_domain
|
||||
|
||||
= render template: "layouts/application"
|
@ -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|
|
||||
|
Reference in New Issue
Block a user