diaspora/app/assets/templates/profile_header_tpl.jst.hbs
Florian Staudacher 9a16560d8d * rename profile header view to make name more accurate
* include 'js-routes' for rails routes in javascript
  (TODO: config options?)
* add handlebars helper for rails routes
2014-09-15 01:37:23 +02:00

25 lines
683 B
Handlebars

<div id="author_info">
<div class="right">
{{#if loggedIn}}
{{#if is_own_profile}}
{{!-- can't block myself, so don't check it here --}}
<a href="{{urlTo 'edit_profile'}}" class="button creation">{{t 'people.edit_my_profile'}}</a>
{{else}} {{#if is_blocked}}
<a href="#" id="unblock_user_button" class="button">{{t 'people.stop_ignoring'}}</a>
{{else}}
<div class="placeholder aspect_membership_dropdown"></div>
{{/if}}{{/if}}
{{/if}}
</div>
<h2>{{name}}</h2>
<span class="diaspora_handle">{{diaspora_id}}</span>
<div class="description">
{{#if loggedIn}}
TODO
{{/if}}
</div>
</div>
<hr />