mirror of
https://github.com/Retrospring/retrospring.git
synced 2025-04-03 00:39:11 +02:00
added username of user who answered the question
This commit is contained in:
parent
01aff9b673
commit
c0c6ac182b
2 changed files with 12 additions and 0 deletions
app
|
@ -31,6 +31,13 @@ body {
|
||||||
width: 32px;
|
width: 32px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.img-answerbox-small {
|
||||||
|
min-height: 20px;
|
||||||
|
min-width: 20px;
|
||||||
|
height: 20px;
|
||||||
|
width: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
.answerbox-question-text, .answerbox-question-user {
|
.answerbox-question-text, .answerbox-question-user {
|
||||||
margin-bottom: 0px;
|
margin-bottom: 0px;
|
||||||
}
|
}
|
||||||
|
|
|
@ -10,6 +10,11 @@
|
||||||
.panel-body
|
.panel-body
|
||||||
%p= a.content
|
%p= a.content
|
||||||
%br/
|
%br/
|
||||||
|
%p.text-muted
|
||||||
|
Answered by
|
||||||
|
%a{href: show_user_profile_path(a.user.screen_name)}
|
||||||
|
%img.img-rounded.img-answerbox-small{src: gravatar_url(a.user)}
|
||||||
|
%span= a.user.screen_name
|
||||||
- if privileged? a.user
|
- if privileged? a.user
|
||||||
%button.btn.btn-danger{name: 'ab-destroy', 'data-a-id' => a.id}
|
%button.btn.btn-danger{name: 'ab-destroy', 'data-a-id' => a.id}
|
||||||
Delete
|
Delete
|
Loading…
Reference in a new issue