markdownify profile in new profile view
This commit is contained in:
parent
c9406d8d7e
commit
bcdd03b4e9
1 changed files with 6 additions and 0 deletions
|
|
@ -16,6 +16,12 @@ app.pages.Profile = app.views.Base.extend({
|
|||
},
|
||||
|
||||
editMode : false,
|
||||
presenter : function(){
|
||||
var bio = this.model.get("bio") || ''
|
||||
return _.extend(this.defaultPresenter(),
|
||||
{text : this.model && app.helpers.textFormatter(bio, this.model)})
|
||||
},
|
||||
|
||||
|
||||
initialize : function(options) {
|
||||
this.model = new app.models.Profile.findByGuid(options.personId)
|
||||
|
|
|
|||
Loading…
Reference in a new issue