=link_to_('Remove avatar'),profile_avatar_path,data: {confirm: _('Avatar will be removed. Are you sure?')},method: :delete,class: 'btn btn-danger btn-inverted'
=link_to_('Remove avatar'),profile_avatar_path,data: {confirm: _('Avatar will be removed. Are you sure?')},method: :delete,class: 'btn btn-danger btn-inverted'
%hr
%hr
.row
.col-lg-4.profile-settings-sidebar
%h4.prepend-top-0=s_("User|Current Status")
%p=_("This emoji and message will appear on your profile and throughout the interface.")
| `id_or_username` | string | yes | The id or username of the user to get a status of |
## Set user status
Set the status of the current user.
```
PUT /user/status
```
```json
{
"emoji":"coffee",
"message":"I crave coffee"
}
```
Parameters:
| Attribute | Type | Required | Description |
| --------- | ---- | -------- | ----------- |
| `emoji` | string | no | The name of the emoji to use as status, if omitted `speech_balloon` is used. Emoji name can be one of the specified names in the [Gemojione index][gemojione-index]. |
| `message` | string | no | The message to set as a status |
When both parameters are empty, the status will be cleared.
## List user projects
## List user projects
Please refer to the [List of user projects ](projects.md#list-user-projects).
Please refer to the [List of user projects ](projects.md#list-user-projects).
...
@@ -1167,3 +1228,5 @@ Example response:
...
@@ -1167,3 +1228,5 @@ Example response:
```
```
Please note that `last_activity_at` is deprecated, please use `last_activity_on`.
Please note that `last_activity_at` is deprecated, please use `last_activity_on`.