From 7a101100a0abb6b24593deb5e38a47e03b33f74e Mon Sep 17 00:00:00 2001 From: Ruslan Kabalin Date: Tue, 1 Aug 2023 21:46:20 +0100 Subject: [PATCH] Clean up profile fields from the template. This will need follow up change to remove fields from model and relevant methods. --- views/module/user/profile.pug | 24 ------------------------ 1 file changed, 24 deletions(-) diff --git a/views/module/user/profile.pug b/views/module/user/profile.pug index 09eb7482..950f2e56 100644 --- a/views/module/user/profile.pug +++ b/views/module/user/profile.pug @@ -44,30 +44,6 @@ label.col-sm-3.col-md-2.control-label(for="inWebsite") Веб-сайт .col-sm-3.col-md-2 input.form-control(type="text", id='inWebsite', data-bind="attr: {disabled: !editMode()}, value: u.www, valueUpdate: 'afterkeydown'") - .form-group(data-bind="style: {display: canBeEdit() || u.lj().length > 0 ? '' : 'none'}") - label.col-sm-3.col-md-2.control-label(for="inLJ") ЖЖ - .col-sm-3.col-md-2 - input.form-control(type="text", id='inLJ', data-bind="attr: {disabled: !editMode()}, value: u.lj, valueUpdate: 'afterkeydown'") - .form-group(data-bind="style: {display: canBeEdit() || u.skype().length > 0 ? '' : 'none'}") - label.col-sm-3.col-md-2.control-label(for="inSkype") Skype - .col-sm-3.col-md-2 - input.form-control(type="text", id='inSkype', data-bind="attr: {disabled: !editMode()}, value: u.skype, valueUpdate: 'afterkeydown'") - .form-group(data-bind="style: {display: canBeEdit() || u.icq().length > 0 ? '' : 'none'}") - label.col-sm-3.col-md-2.control-label(for="inICQ") icq - .col-sm-3.col-md-2 - input.form-control(type="text", id='inICQ', data-bind="attr: {disabled: !editMode()}, value: u.icq, valueUpdate: 'afterkeydown'") - .form-group(data-bind="style: {display: canBeEdit() || u.aim().length > 0 ? '' : 'none'}") - label.col-sm-3.col-md-2.control-label(for="inaim") aim - .col-sm-3.col-md-2 - input.form-control(type="text", id='inaim', data-bind="attr: {disabled: !editMode()}, value: u.aim, valueUpdate: 'afterkeydown'") - .form-group(data-bind="style: {display: canBeEdit() || u.flickr().length > 0 ? '' : 'none'}") - label.col-sm-3.col-md-2.control-label(for="inflickr") flickr - .col-sm-3.col-md-2 - input.form-control(type="text", id='inflickr', data-bind="attr: {disabled: !editMode()}, value: u.flickr, valueUpdate: 'afterkeydown'") - .form-group(data-bind="style: {display: canBeEdit() || u.blogger().length > 0 ? '' : 'none'}") - label.col-sm-3.col-md-2.control-label(for="inBlogger") Blogger - .col-sm-3.col-md-2 - input.form-control(type="text", id='inBlogger', data-bind="attr: {disabled: !editMode()}, value: u.blogger, valueUpdate: 'afterkeydown'") .form-group(data-bind="style: {display: canBeEdit() || u.aboutme().length > 0 ? '' : 'none'}") label.col-sm-3.col-md-2.control-label(for="inaboutme") Обо мне .col-sm-7.col-md-8