-
-
-
@@ -40,16 +40,16 @@
@@ -81,16 +81,16 @@
▼
-
- <%= current_user.name %>
+

+
{{current_user.name}}
-
<%= Diaspora.I18n.t("header.profile") %>
-
<%= Diaspora.I18n.t("header.contacts") %>
-
<%= Diaspora.I18n.t("header.settings") %>
- <% if(current_user.admin) { %>
-
<%= Diaspora.I18n.t("header.admin") %>
- <% } %>
-
<%= Diaspora.I18n.t("header.log_out") %>
+
{{t "header.profile"}}
+
{{t "header.contacts"}}
+
{{t "header.settings"}}
+ {{#if current_user.admin}}
+
{{t "header.admin"}}
+ {{/if}}
+
{{t "header.log_out"}}
diff --git a/public/javascripts/app/views/header_view.js b/public/javascripts/app/views/header_view.js
index c9a2db120..457c3c517 100644
--- a/public/javascripts/app/views/header_view.js
+++ b/public/javascripts/app/views/header_view.js
@@ -1,7 +1,5 @@
app.views.Header = app.views.Base.extend({
- legacyTemplate : true,
-
- template_name : "#header-template",
+ templateName : "header",
tagName : "header",