Add titles to all darkswarm pages

This commit is contained in:
Rohan Mitchell
2015-06-16 15:31:35 +10:00
parent 301a3ac090
commit 02d68c662b
15 changed files with 52 additions and 15 deletions

View File

@@ -1,4 +1,7 @@
= inject_enterprises
- content_for(:title) do
Groups
= inject_enterprises
:javascript
angular.module('Darkswarm').value('groups', #{render partial: "json/groups", object: @groups})

View File

@@ -1,3 +1,6 @@
- content_for(:title) do
= @group.name
-# inject all enterprises as "enterprises"
-# it could be more efficient to inject only the enterprises that are related to the group
= inject_enterprises

View File

@@ -1,3 +1,6 @@
- content_for(:title) do
Sign up as a group
#panes
#shops-signup.pane
.row.header