Added character name to character sheet

This commit is contained in:
Thaum
2015-02-06 08:58:51 +00:00
parent 3bde7a5e97
commit fd6ebf05d8
2 changed files with 3 additions and 3 deletions

View File

@@ -25,7 +25,7 @@ Router.map( function () {
];
},
data: function() {
var data = Characters.findOne({_id: this.params._id}, {fields: {_id: 1}});
var data = Characters.findOne({_id: this.params._id}, {fields: {_id: 1, name: 1}});
return data;
}
});

View File

@@ -3,7 +3,7 @@
<core-toolbar class="medium-tall">
<core-icon-button icon="menu" core-drawer-toggle></core-icon-button>
<div flex>
Name
{{name}}
</div>
<paper-icon-button icon="more-vert" role="button"></paper-icon-button>
<div class="bottom fit" horizontal layout>
@@ -23,7 +23,7 @@
<swipe-detect touch-action="pan-y" flex>{{> features}}</swipe-detect>
<swipe-detect touch-action="pan-y" flex>{{> inventory}}</swipe-detect>
<swipe-detect touch-action="pan-y" flex>{{> spells}}</swipe-detect>
<swipe-detect touch-action="pan-y" flex>Persona Under Construction</swipe-detect>
<swipe-detect touch-action="pan-y" flex>{{> persona}}</swipe-detect>
<swipe-detect touch-action="pan-y" flex>Journal Under Construction</swipe-detect>
</core-animated-pages>
</div>