Creating templates testing and Modifying exporters
This commit is contained in:
parent
dcb098e0c7
commit
68333ff0c0
@ -1,5 +1,6 @@
|
||||
accessing
|
||||
exportDefaultReport
|
||||
|
||||
self installTemplate.
|
||||
self hasTemplates
|
||||
ifFalse: [ self installTemplate ].
|
||||
^ self exportWithTemplate: (TweetsCollection dataStore / 'templates' / 'template.mus.tex') into: self folder
|
@ -1,5 +1,6 @@
|
||||
accessing
|
||||
exportStaticWebReport
|
||||
|
||||
self installTemplate.
|
||||
self hasTemplates
|
||||
ifTrue: [ self installTemplate ].
|
||||
^ self exportWithTemplate: (TweetsCollection dataStore / 'templates' / 'index.mus.html') into: self folder
|
@ -0,0 +1,6 @@
|
||||
accessing
|
||||
hasTemplates
|
||||
|
||||
| templatesFolder |
|
||||
templatesFolder :=(TweetsCollection dataStore / 'templates' ).
|
||||
^ templatesFolder exists and: [ templatesFolder children isNotEmpty ]
|
Loading…
Reference in New Issue
Block a user