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