update icons on the teams page

This commit is contained in:
daria 2025-07-16 17:00:23 +03:00
parent 370a048600
commit be7668da9d
No known key found for this signature in database
GPG Key ID: 3B75240E6B2F2701
2 changed files with 3 additions and 1 deletions

View File

@ -90,6 +90,7 @@ define([
"history": "archive",
"chat": "message-circle-more",
"mail": "mail", // XXX
"upload-avatar": "image-up",
};
Icons.get = (name, attrs = {}) => {

View File

@ -1196,7 +1196,7 @@ define([
$upButton.addClass('cp-online');
$upButton.removeProp('title');
$upButton.text(Messages.profile_upload);
$upButton.prepend($('<span>', {'class': 'fa fa-upload'}));
$upButton.prepend($(Icons.get('upload-avatar')));
APP.module.execCommand('GET_TEAM_METADATA', {
teamId: APP.team
@ -1250,6 +1250,7 @@ define([
});
};
var button = h('button.btn.btn-primary', Messages.team_exportButton);
button.prepend(Icons.get('download'));
UI.confirmButton(button, {
classes: 'btn-primary',
multiple: true