Final modifications for the presentation
This commit is contained in:
1 parent
1fcacbb4af
commit
b68f5e11e5
4 files changed
+7
-4
No files matched your search
+2
-1
@@ -192,7 +192,8 @@ module Parser
|
||||
page.design.javascripts.each do |js|
|
||||
res << "<script type='text/javascript' src='#{js.file.url}'></script>"
|
||||
end
|
||||
|
||||
res << "<script type='text/javascript' src='/static/jquery.js'></script>"
|
||||
res << "<script type='text/javascript' src='/static/kernel.js'></script>"
|
||||
res
|
||||
end
|
||||
c.define_tag 'layout_part' do |tag|
|
||||
|
||||
+2
-1
@@ -5,8 +5,9 @@ namespace :site do
|
||||
task :build => :environment do
|
||||
|
||||
Site.delete_all
|
||||
Purchase.delete_all
|
||||
|
||||
Site.create( :school => 'The Best School', :department => 'Awesome', :valid_locales => [ 'en', 'zh_tw' ], :in_use_locales => [ 'zh_tw', 'en' ])
|
||||
Site.create( :school => 'RulingDigital University', :department => 'Computer Science', :valid_locales => [ 'en', 'zh_tw' ], :in_use_locales => [ 'zh_tw', 'en' ])
|
||||
|
||||
end
|
||||
|
||||
|
||||
Reference in new issue
Block a user