Commit Graph

32 Commits

Author SHA1 Message Date
Matthew K. Fu JuYuan e8317e0a4b 1.Remove category column when category is specified
2.Showing category if not in category browsing
3.Redirect to home and show error if app page is not available for user language
4.Showing no context to display if object has no language for it.
5.Browse new and announcement by unit is now applicable.
2012-08-08 14:46:08 +08:00
Christophe Vilayphiou 9982fd880f Update the path when name is changed in item.rb 2012-08-08 10:53:04 +08:00
Christophe Vilayphiou a8cc581279 Sitemap done for backend and fronted 2012-07-27 19:13:40 +08:00
Christophe Vilayphiou db9c4c0e10 Partial sitemap 2012-07-27 19:13:39 +08:00
Christophe Vilayphiou 49dd3a1770 Remove i18n_variable for controllers, helpers and models 2012-07-27 19:13:39 +08:00
Christophe Vilayphiou 11a371cbb9 Fix destroy in structure
Fix sorting
2012-05-22 17:55:45 +08:00
Christophe Vilayphiou 17b486f9e9 Fix bugs for shift_to and change items.rake for the missing position in db 2012-05-11 17:56:26 +08:00
Christophe Vilayphiou 6a443f0976 Add mongoid-tree to Item 2012-05-11 16:16:09 +08:00
Christophe Vilayphiou 9ead6cafda Ray's changes 2012-05-09 04:15:02 +08:00
Christophe Vilayphiou 8a3f0b9bdc Add menu_enabled_for: the page can be shown even if there's no link in the menu 2012-05-07 15:47:14 +08:00
Christophe Vilayphiou ce1fecaf93 Add position ordering and hiding page for i18n 2012-05-06 00:35:13 +08:00
Christophe Vilayphiou 0b71714d44 Improve code in items, pages, links 2012-02-17 14:54:11 +08:00
Christophe Vilayphiou e0accbecaa Changes into page_part edition.
Can choose between 'text', 'public_r_tag' and 'widget'
2012-02-16 13:09:09 +08:00
chris2tof 7b5ea870a0 Delete page. 2011-06-01 12:00:41 +08:00
chris2tof d9ba76ebd5 - No more Home object
- Sitemap on the left side and view of the current page in the main block
2011-05-09 18:49:57 +08:00
chris 0067ac48a5 include Mongoid::Timestamps 2011-04-13 18:22:52 +08:00
rulingcom c44b86f284 fix bugs for i18n_variable in page and home 2011-04-13 18:22:49 +08:00
chris bda67684bd mongoid rc_6 & fix bugs 2011-04-13 18:22:49 +08:00
ihower 19a7d51e60 Chris's first commit at Fri Jan 28 2011 10:14:32 GMT+0800 (CST) 2011-04-13 18:19:51 +08:00
Wen-Tien Chang 13065aa85a Add devise gem and panel/users controller 2010-03-04 16:33:26 +08:00
Wen-Tien Chang e87b3c1d61 upgrade to mongo_mapper 0.7.0 2010-03-01 16:18:28 +08:00
Wen-Tien Chang 496d73487b Fixed Item#parent_name again 2010-02-22 17:09:39 +08:00
Wen-Tien Chang f9b1618ac7 Fixed Item#parent_name 2010-02-22 15:27:11 +08:00
Wen-Tien Chang 9fa03db2c0 Let nested route works 2010-02-11 16:46:20 +08:00
Wen-Tien Chang 66a462faa8 Add nested route url 2010-02-05 17:18:57 +08:00
Wen-Tien Chang e11dc5dd83 check uniqueness for item, layout and snippet 2010-02-05 17:04:07 +08:00
Wen-Tien Chang 11991320d2 fix foreign key should be ObjectID 2010-02-05 16:53:52 +08:00
Wen-Tien Chang 8da5323fd0 Let page edit from can select layout 2010-01-28 17:42:55 +08:00
Wen-Tien Chang 12de9d2514 Add validation for item.name, only allow [a-zA-z-_] 2010-01-28 17:30:35 +08:00
Wen-Tien Chang aab1199aee Add rake dev:build for pages 2010-01-18 16:23:33 +08:00
Wen-Tien Chang 32e8bd108f Add Item#ancestors 2010-01-18 15:52:52 +08:00
Wen-Tien Chang e1440a79d8 Add Item, Page, Component, Link inheritanced models 2010-01-14 18:30:53 +08:00