UX: When editing a reviewable, show created_by

This commit is contained in:
Robin Ward 2019-04-15 15:11:34 -04:00
parent d859e1594e
commit fca3044b10
2 changed files with 15 additions and 0 deletions

View File

@ -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

View File

@ -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 {