mirror of
https://github.com/LemmyNet/lemmy-ui.git
synced 2024-12-23 11:21:26 +00:00
fix: Fix some button labels and tippy text
This commit is contained in:
parent
4f9d5bf95d
commit
c48ee703c0
1 changed files with 2 additions and 5 deletions
|
@ -900,7 +900,6 @@ export class PostListing extends Component<PostListingProps, PostListingState> {
|
||||||
<button
|
<button
|
||||||
className="btn btn-link text-muted dropdown-item"
|
className="btn btn-link text-muted dropdown-item"
|
||||||
onClick={linkEvent(this, this.handleEditClick)}
|
onClick={linkEvent(this, this.handleEditClick)}
|
||||||
data-tippy-content={i18n.t("edit")}
|
|
||||||
aria-label={i18n.t("edit")}
|
aria-label={i18n.t("edit")}
|
||||||
>
|
>
|
||||||
<Icon classes="mr-1" icon="edit" inline />
|
<Icon classes="mr-1" icon="edit" inline />
|
||||||
|
@ -916,7 +915,6 @@ export class PostListing extends Component<PostListingProps, PostListingState> {
|
||||||
<button
|
<button
|
||||||
className="btn btn-link text-muted dropdown-item"
|
className="btn btn-link text-muted dropdown-item"
|
||||||
onClick={linkEvent(this, this.handleDeleteClick)}
|
onClick={linkEvent(this, this.handleDeleteClick)}
|
||||||
data-tippy-content={label}
|
|
||||||
aria-label={label}
|
aria-label={label}
|
||||||
>
|
>
|
||||||
{this.state.deleteLoading ? (
|
{this.state.deleteLoading ? (
|
||||||
|
@ -928,7 +926,7 @@ export class PostListing extends Component<PostListingProps, PostListingState> {
|
||||||
classes={classNames("mr-1", { "text-danger": deleted })}
|
classes={classNames("mr-1", { "text-danger": deleted })}
|
||||||
inline
|
inline
|
||||||
/>
|
/>
|
||||||
{i18n.t("delete")}
|
{label}
|
||||||
</>
|
</>
|
||||||
)}
|
)}
|
||||||
</button>
|
</button>
|
||||||
|
@ -959,7 +957,6 @@ export class PostListing extends Component<PostListingProps, PostListingState> {
|
||||||
<button
|
<button
|
||||||
className="btn btn-link text-muted dropdown-item"
|
className="btn btn-link text-muted dropdown-item"
|
||||||
onClick={linkEvent(this, this.handleModLock)}
|
onClick={linkEvent(this, this.handleModLock)}
|
||||||
data-tippy-content={label}
|
|
||||||
aria-label={label}
|
aria-label={label}
|
||||||
>
|
>
|
||||||
{this.state.lockLoading ? (
|
{this.state.lockLoading ? (
|
||||||
|
@ -971,7 +968,7 @@ export class PostListing extends Component<PostListingProps, PostListingState> {
|
||||||
classes={classNames("mr-1", { "text-danger": locked })}
|
classes={classNames("mr-1", { "text-danger": locked })}
|
||||||
inline
|
inline
|
||||||
/>
|
/>
|
||||||
{i18n.t("lock")}
|
{label}
|
||||||
</>
|
</>
|
||||||
)}
|
)}
|
||||||
</button>
|
</button>
|
||||||
|
|
Loading…
Reference in a new issue