mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-13 07:46:06 +00:00
Follow @Tirokk PR review suggestions
- Favor lowercase for words in a sentence after the first - Use exclamation marks for successful actions that use a toastr - place events at the end of the list on components - place class above events - it would be nice to come to a consensus based on best practices, like I had a doubt and places the class definition below the props, is that what others do?
This commit is contained in:
parent
701411e270
commit
c8c71a52c6
@ -57,11 +57,11 @@
|
||||
<base-button
|
||||
:title="this.$t('post.comment.reply')"
|
||||
icon="level-down"
|
||||
@click.prevent="reply"
|
||||
v-scroll-to="'.editor'"
|
||||
circle
|
||||
class="reply-button"
|
||||
circle
|
||||
size="small"
|
||||
v-scroll-to="'.editor'"
|
||||
@click.prevent="reply"
|
||||
></base-button>
|
||||
</ds-card>
|
||||
</div>
|
||||
|
||||
@ -7,16 +7,16 @@
|
||||
<ds-space margin-bottom="large" />
|
||||
<div v-if="post.comments && post.comments.length" id="comments" class="comments">
|
||||
<comment
|
||||
@reply="reply"
|
||||
v-for="comment in post.comments"
|
||||
:key="comment.id"
|
||||
:comment="comment"
|
||||
:post="post"
|
||||
:routeHash="routeHash"
|
||||
class="comment-tag"
|
||||
@deleteComment="updateCommentList"
|
||||
@updateComment="updateCommentList"
|
||||
@toggleNewCommentForm="toggleNewCommentForm"
|
||||
class="comment-tag"
|
||||
@reply="reply"
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -279,7 +279,7 @@
|
||||
},
|
||||
"comment": {
|
||||
"submit": "Kommentiere",
|
||||
"submitted": "Kommentar Gesendet",
|
||||
"submitted": "Kommentar gesendet!",
|
||||
"updated": "Änderungen gespeichert",
|
||||
"reply": "Antworten"
|
||||
},
|
||||
|
||||
@ -444,8 +444,8 @@
|
||||
},
|
||||
"comment": {
|
||||
"submit": "Comment",
|
||||
"submitted": "Comment Submitted",
|
||||
"updated": "Changes Saved",
|
||||
"submitted": "Comment submitted!",
|
||||
"updated": "Changes saved!",
|
||||
"reply": "Reply"
|
||||
},
|
||||
"edited": "edited"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user