Rename changed classes across templates
This commit is contained in:
parent
b508eb3f21
commit
85d97b0c71
|
@ -13,7 +13,7 @@
|
|||
%a{href: show_user_profile_path(u.screen_name)}
|
||||
%span= u.display_name
|
||||
%span.text-muted= "@#{u.screen_name}"
|
||||
%p.answerbox--question-text
|
||||
%p.answerbox__question-text
|
||||
- if type == "new"
|
||||
= t('views.discover.userbox.new', time: time_ago_in_words(u.created_at))
|
||||
- elsif type == "most"
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
.media
|
||||
- unless i.question.author_is_anonymous
|
||||
%a.pull-left{href: show_user_profile_path(i.question.user.screen_name)}
|
||||
%img.img-rounded.answerbox--img{src: i.question.user.profile_picture.url(:medium)}
|
||||
%img.avatar-sm{src: i.question.user.profile_picture.url(:medium)}
|
||||
.media-body
|
||||
%h6.text-muted.media-heading.answerbox--question-user
|
||||
= raw t('views.inbox.entry.asked', user: user_screen_name(i.question.user, anonymous: i.question.author_is_anonymous), time: time_tooltip(i.question))
|
||||
|
@ -12,7 +12,7 @@
|
|||
·
|
||||
%a{href: show_user_question_path(i.question.user.screen_name, i.question.id)}
|
||||
= pluralize(i.question.answer_count, t('views.inbox.entry.response'))
|
||||
%p.answerbox--question-text= i.question.content
|
||||
%p.answerbox__question-text= i.question.content
|
||||
.card-body
|
||||
%textarea.form-control{name: 'ib-answer', placeholder: t('views.placeholder.inbox'), data: { id: i.id }}
|
||||
%br/
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
%li{data: { comment_id: comment.id }}
|
||||
.media.comments--media
|
||||
.pull-left
|
||||
%img.img-rounded.answerbox--img{src: comment.user.profile_picture.url(:medium)}
|
||||
%img.avatar-sm{src: comment.user.profile_picture.url(:medium)}
|
||||
.media-body.comments--body
|
||||
%h6.media-heading.answerbox--question-user
|
||||
= user_screen_name comment.user
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
- unless report.nil? or report.target.nil? or report.user.nil? or report.type.nil?
|
||||
.card.moderationbox{data: { id: report.id }}
|
||||
.card-header
|
||||
%img.img-rounded.answerbox--img{src: report.user.profile_picture.url(:medium)}
|
||||
%img.avatar-sm{src: report.user.profile_picture.url(:medium)}
|
||||
= raw t('views.moderation.moderationbox.reported', user: user_screen_name(report.user), content: report.type.sub('Reports::', ''), time: time_tooltip(report))
|
||||
.card-body
|
||||
%p
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
.media.question-media
|
||||
- unless question.author_is_anonymous
|
||||
%a.pull-left{href: unless hidden then show_user_profile_path(question.user.screen_name) end}
|
||||
%img.img-rounded.answerbox--img{src: question.user.profile_picture.url(:medium)}
|
||||
%img.avatar-sm{src: question.user.profile_picture.url(:medium)}
|
||||
.media-body.question-body
|
||||
- if user_signed_in?
|
||||
.pull-right
|
||||
|
@ -28,4 +28,4 @@
|
|||
= user_screen_name question.user, anonymous: question.author_is_anonymous, url: false
|
||||
- else
|
||||
= raw t('views.answerbox.asked', user: user_screen_name(question.user, anonymous: question.author_is_anonymous), time: time_tooltip(question))
|
||||
%p.answerbox--question-text= question.content
|
||||
%p.answerbox__question-text= question.content
|
||||
|
|
|
@ -29,5 +29,5 @@
|
|||
·
|
||||
%a{href: show_user_question_path(q.user.screen_name, q.id)}
|
||||
= pluralize(q.answer_count, t('views.general.answer'))
|
||||
%p.answerbox--question-text
|
||||
%p.answerbox__question-text
|
||||
= q.content
|
||||
|
|
|
@ -22,6 +22,6 @@
|
|||
.card-body
|
||||
- @group.members.each do |member|
|
||||
%a{href: show_user_profile_path(member.user.screen_name), title: member.user.screen_name, data: { toggle: :tooltip, placement: :top }}
|
||||
%img.img-rounded.answerbox--img-small{src: member.user.profile_picture.url(:medium)}
|
||||
%img.avatar-xs{src: member.user.profile_picture.url(:medium)}
|
||||
|
||||
= render 'shared/links'
|
||||
|
|
Loading…
Reference in New Issue