template updates
This commit is contained in:
+2
-2
@@ -1,5 +1,5 @@
|
||||
App.SectionHeaderView = Ember.View.extend
|
||||
templateName: 'section_header'
|
||||
App.SectionHeaderComponent = Ember.Component.extend
|
||||
#templateName: 'section_header'
|
||||
tagName: 'dd'
|
||||
classNameBindings: ['active']
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
= link-to 'section' section
|
||||
span= title
|
||||
@@ -1,2 +0,0 @@
|
||||
= link-to 'section' this
|
||||
= title
|
||||
@@ -1,7 +1,7 @@
|
||||
dl.sub-nav
|
||||
dt= t 'model.section'
|
||||
each model as |section|
|
||||
view App.SectionHeaderView context=section
|
||||
= section-header section=section
|
||||
else
|
||||
dd No available sections
|
||||
hr
|
||||
|
||||
Reference in New Issue
Block a user