mirror of
https://github.com/flarum/framework.git
synced 2024-11-25 09:41:49 +08:00
Use a slightly different icon for suggesting upload functionality
Refs #249.
This commit is contained in:
parent
5f60297eb1
commit
323339190c
2
js/forum/dist/app.js
vendored
2
js/forum/dist/app.js
vendored
|
@ -18998,7 +18998,7 @@ System.register('flarum/components/AvatarEditor', ['flarum/Component', 'flarum/h
|
|||
{ className: user.avatarUrl() ? "Dropdown-toggle" : "Dropdown-toggle AvatarEditor--noAvatar",
|
||||
'data-toggle': 'dropdown',
|
||||
onclick: this.quickUpload.bind(this) },
|
||||
this.loading ? LoadingIndicator.component() : user.avatarUrl() ? icon('pencil') : icon('upload')
|
||||
this.loading ? LoadingIndicator.component() : user.avatarUrl() ? icon('pencil') : icon('plus-circle')
|
||||
),
|
||||
m(
|
||||
'ul',
|
||||
|
|
|
@ -38,9 +38,9 @@ export default class AvatarEditor extends Component {
|
|||
<div className={'AvatarEditor Dropdown ' + this.props.className + (this.loading ? ' loading' : '')}>
|
||||
{avatar(user)}
|
||||
<a className={ user.avatarUrl() ? "Dropdown-toggle" : "Dropdown-toggle AvatarEditor--noAvatar" }
|
||||
data-toggle="dropdown"
|
||||
onclick={this.quickUpload.bind(this)}>
|
||||
{this.loading ? LoadingIndicator.component() : (user.avatarUrl() ? icon('pencil') : icon('upload'))}
|
||||
data-toggle="dropdown"
|
||||
onclick={this.quickUpload.bind(this)}>
|
||||
{this.loading ? LoadingIndicator.component() : (user.avatarUrl() ? icon('pencil') : icon('plus-circle'))}
|
||||
</a>
|
||||
<ul className="Dropdown-menu Menu">
|
||||
{listItems(this.controlItems().toArray())}
|
||||
|
|
Loading…
Reference in New Issue
Block a user