add comments
This commit is contained in:
parent
0f8a1731d3
commit
28ade83ab9
5
doc/TODO
5
doc/TODO
@ -16,11 +16,12 @@ BOARD:
|
|||||||
- html view in the aloha popup
|
- html view in the aloha popup
|
||||||
- editable elements should wrap a tag: div, h1, ...etc (default span)
|
- editable elements should wrap a tag: div, h1, ...etc (default span)
|
||||||
- edit images (upload new ones, ...etc) => wait for aloha or send them an email ?
|
- edit images (upload new ones, ...etc) => wait for aloha or send them an email ?
|
||||||
- customize tinyMCE: no html popup => div popup, nice icons
|
x customize tinyMCE: no html popup => div popup, nice icons
|
||||||
- add images / files inside long text element (back-office side at first ?)
|
x add images / files inside long text element (back-office side at first ?)
|
||||||
- global regions: keyword in editable element (http://www.mongodb.org/display/DOCS/Updating)
|
- global regions: keyword in editable element (http://www.mongodb.org/display/DOCS/Updating)
|
||||||
- create a repo for a tool "a la" vision
|
- create a repo for a tool "a la" vision
|
||||||
- write my first tutorial about locomotive
|
- write my first tutorial about locomotive
|
||||||
|
- asset collections => liquid
|
||||||
|
|
||||||
- refactor slugify method (use parameterize + create a module)
|
- refactor slugify method (use parameterize + create a module)
|
||||||
- [content types] the "display column" selector should not include file types
|
- [content types] the "display column" selector should not include file types
|
||||||
|
@ -22,7 +22,7 @@ module Locomotive
|
|||||||
end
|
end
|
||||||
|
|
||||||
def locomotive_page
|
def locomotive_page
|
||||||
path = (params[:path] || request.fullpath).clone
|
path = (params[:path] || request.fullpath).clone # TODO: params[:path] is more consistent
|
||||||
path.gsub!(/\.[a-zA-Z][a-zA-Z0-9]{2,}$/, '')
|
path.gsub!(/\.[a-zA-Z][a-zA-Z0-9]{2,}$/, '')
|
||||||
path.gsub!(/^\//, '')
|
path.gsub!(/^\//, '')
|
||||||
path = 'index' if path.blank?
|
path = 'index' if path.blank?
|
||||||
@ -56,7 +56,7 @@ module Locomotive
|
|||||||
'asset_collections' => Locomotive::Liquid::Drops::AssetCollections.new(current_site),
|
'asset_collections' => Locomotive::Liquid::Drops::AssetCollections.new(current_site),
|
||||||
'stylesheets' => Locomotive::Liquid::Drops::Stylesheets.new(current_site),
|
'stylesheets' => Locomotive::Liquid::Drops::Stylesheets.new(current_site),
|
||||||
'javascripts' => Locomotive::Liquid::Drops::Javascripts.new(current_site),
|
'javascripts' => Locomotive::Liquid::Drops::Javascripts.new(current_site),
|
||||||
'theme_images' => Locomotive::Liquid::Drops::ThemeImages.new(current_site),
|
'images' => Locomotive::Liquid::Drops::ThemeImages.new(current_site),
|
||||||
'contents' => Locomotive::Liquid::Drops::Contents.new(current_site),
|
'contents' => Locomotive::Liquid::Drops::Contents.new(current_site),
|
||||||
'current_page' => self.params[:page]
|
'current_page' => self.params[:page]
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user