Barış Soner Uşaklı 4 years ago
parent 267c488002
commit 37a1709fe7

@ -1,6 +1,5 @@
'use strict'; 'use strict';
var striptags = require('striptags');
var meta = require.main.require('./src/meta'); var meta = require.main.require('./src/meta');
var user = require.main.require('./src/user'); var user = require.main.require('./src/user');
@ -72,6 +71,11 @@ library.defineWidgetAreas = function(areas, callback) {
name: "Topic Footer", name: "Topic Footer",
template: "topic.tpl", template: "topic.tpl",
location: "footer" location: "footer"
},
{
name: "Account Header",
template: "account/profile.tpl",
location: "header"
} }
]); ]);

@ -1,5 +1,11 @@
<!-- IMPORT partials/breadcrumbs.tpl --> <!-- IMPORT partials/breadcrumbs.tpl -->
<div data-widget-area="header">
{{{each widgets.header}}}
{{widgets.header.html}}
{{{end}}}
</div>
<div class="cover" component="account/cover" style="background-image: url({cover:url}); background-position: {cover:position};"> <div class="cover" component="account/cover" style="background-image: url({cover:url}); background-position: {cover:position};">
<div class="avatar-wrapper" data-uid="{uid}"> <div class="avatar-wrapper" data-uid="{uid}">
<!-- IF picture --> <!-- IF picture -->

Loading…
Cancel
Save