mirror of
https://github.com/cryptpad/cryptpad.git
synced 2026-09-14 11:05:41 +05:00
update icons on the teams page
This commit is contained in:
parent
370a048600
commit
be7668da9d
@ -90,6 +90,7 @@ define([
|
||||
"history": "archive",
|
||||
"chat": "message-circle-more",
|
||||
"mail": "mail", // XXX
|
||||
"upload-avatar": "image-up",
|
||||
};
|
||||
|
||||
Icons.get = (name, attrs = {}) => {
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user