UX: When editing a reviewable, show created_by
This commit is contained in:
parent
d859e1594e
commit
fca3044b10
|
@ -16,6 +16,13 @@
|
|||
<div class='reviewable-contents'>
|
||||
{{#if editing}}
|
||||
<div class='editable-fields'>
|
||||
{{#if reviewable.created_by}}
|
||||
<div class='editable-created-by'>
|
||||
{{avatar reviewable.created_by imageSize="tiny"}}
|
||||
{{reviewable-created-by-name user=reviewable.created_by tagName=''}}
|
||||
</div>
|
||||
{{/if}}
|
||||
|
||||
{{#each reviewable.editable_fields as |f|}}
|
||||
<div class='editable-field {{dasherize f.id}}'>
|
||||
{{component
|
||||
|
|
|
@ -381,6 +381,14 @@
|
|||
}
|
||||
|
||||
.editable-fields {
|
||||
.editable-created-by {
|
||||
display: flex;
|
||||
.avatar {
|
||||
margin-right: 0.25em;
|
||||
}
|
||||
margin-bottom: 0.5em;
|
||||
}
|
||||
|
||||
width: 100%;
|
||||
.editable-field {
|
||||
.mini-tag-chooser {
|
||||
|
|
Loading…
Reference in New Issue