Skip to content

Commit

Permalink
Clean up profile fields from the template.
Browse files Browse the repository at this point in the history
This will need follow up change to remove fields from model and relevant
methods.
  • Loading branch information
kabalin committed Aug 1, 2023
1 parent 810164c commit 7a10110
Showing 1 changed file with 0 additions and 24 deletions.
24 changes: 0 additions & 24 deletions views/module/user/profile.pug
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7a10110

Please sign in to comment.