Reduced user profile form

This commit is contained in:
Emanuel Schütze 2017-02-22 23:31:50 +01:00
parent f69781b88b
commit 7de2f5c79c

View File

@ -411,55 +411,6 @@ angular.module('OpenSlidesApp.users.site', [
required: true required: true
}, },
}, },
{
className: "row",
fieldGroup: [
{
key: 'title',
type: 'input',
className: "col-xs-2 no-padding-left",
templateOptions: {
label: gettextCatalog.getString('Title')
}
},
{
key: 'first_name',
type: 'input',
className: "col-xs-5 no-padding",
templateOptions: {
label: gettextCatalog.getString('Given name')
}
},
{
key: 'last_name',
type: 'input',
className: "col-xs-5 no-padding-right",
templateOptions: {
label: gettextCatalog.getString('Surname')
}
}
]
},
{
className: "row",
fieldGroup: [
{
key: 'structure_level',
type: 'input',
className: "col-xs-9 no-padding-left",
templateOptions: {
label: gettextCatalog.getString('Structure level'),
}
},
{ key: 'number',
type: 'input',
className: "col-xs-3 no-padding-left no-padding-right",
templateOptions: {
label:gettextCatalog.getString('Participant number')
}
}
]
},
{ {
key: 'about_me', key: 'about_me',
type: 'editor', type: 'editor',
@ -485,7 +436,7 @@ angular.module('OpenSlidesApp.users.site', [
return { return {
template: 'static/templates/users/profile-password-form.html', template: 'static/templates/users/profile-password-form.html',
controller: 'UserPasswordCtrl', controller: 'UserPasswordCtrl',
className: 'ngdialog-theme-default wide-form', className: 'ngdialog-theme-default',
closeByEscape: false, closeByEscape: false,
closeByDocument: false, closeByDocument: false,
}; };