mirror of
https://github.com/documize/community.git
synced 2025-07-24 15:49:44 +02:00
Enable custom logo upload and rendering
This commit is contained in:
parent
a211ba051a
commit
036f36ba1d
36 changed files with 574 additions and 211 deletions
|
@ -16,9 +16,13 @@ export default Controller.extend({
|
|||
orgService: service('organization'),
|
||||
|
||||
actions: {
|
||||
save() {
|
||||
onUpdate() {
|
||||
return this.get('orgService').save(this.model.general).then(() => {
|
||||
});
|
||||
},
|
||||
|
||||
onDefaultLogo(orgId) {
|
||||
return this.get('orgService').useDefaultLogo(orgId);
|
||||
}
|
||||
}
|
||||
});
|
||||
|
|
|
@ -3,4 +3,6 @@
|
|||
desc="Options to help you customize Documize"
|
||||
icon=constants.Icon.Settings}}
|
||||
|
||||
{{customize/general-settings model=model save=(action "save")}}
|
||||
{{customize/general-settings model=model
|
||||
onUpdate=(action "onUpdate")
|
||||
onDefaultLogo=(action "onDefaultLogo")}}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue