diff --git a/vendor/built_in_modules/news/app/assets/javascripts/module_widget.js b/app/assets/javascripts/module.js.erb
similarity index 95%
rename from vendor/built_in_modules/news/app/assets/javascripts/module_widget.js
rename to app/assets/javascripts/module.js.erb
index aea46d72..fc19b8e6 100644
--- a/vendor/built_in_modules/news/app/assets/javascripts/module_widget.js
+++ b/app/assets/javascripts/module.js.erb
@@ -6,4 +6,3 @@
//
//= require jquery
//= require jquery_ujs
-//= require news_link
\ No newline at end of file
diff --git a/app/assets/javascripts/page_edit.js b/app/assets/javascripts/page_edit.js.erb
similarity index 63%
rename from app/assets/javascripts/page_edit.js
rename to app/assets/javascripts/page_edit.js.erb
index a889f5b2..7c0f6923 100644
--- a/app/assets/javascripts/page_edit.js
+++ b/app/assets/javascripts/page_edit.js.erb
@@ -32,3 +32,24 @@ $('.part_kind').live('click', function() {
$('.part_kind_partial').hide();
$('#part_' + $(this).attr('value')).show();
});
+
+$(document).ready(function(){
+ $('ol.sortable').nestedSortable({
+ disableNesting: 'no-nest',
+ forcePlaceholderSize: true,
+ handle: 'i',
+ helper: 'clone',
+ items: 'li',
+ maxLevels: 3,
+ opacity: .5,
+ placeholder: 'placeholder',
+ revert: 250,
+ tabSize: 25,
+ tolerance: 'pointer',
+ toleranceElement: '> div',
+
+ stop: function(event, ui) {
+ $.post("<%= Rails.application.routes.url_helpers.admin_update_position_path %>", { id: ui.item.attr('id'), parent_id: ui.item.parent().closest('li').attr('id'), position: ui.item.index() } );
+ }
+ });
+});
\ No newline at end of file
diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb
index 494b497e..4d8d6d48 100644
--- a/app/controllers/application_controller.rb
+++ b/app/controllers/application_controller.rb
@@ -95,9 +95,9 @@ class ApplicationController < ActionController::Base
end
# Render the page
- def render_page(param={})
+ def render_page
if @item
- render :text => process_page(@item, param[:id], param), :layout => 'page_layout'
+ render :text => parse_page_noko(@item), :layout => 'page_layout'
else
render :text => '404 Not Found'
end
diff --git a/app/controllers/orbit_frontend_component_controller.rb b/app/controllers/orbit_frontend_component_controller.rb
index 185dbce6..09621e5f 100644
--- a/app/controllers/orbit_frontend_component_controller.rb
+++ b/app/controllers/orbit_frontend_component_controller.rb
@@ -1,7 +1,7 @@
class OrbitFrontendComponentController< ApplicationController
before_filter :setup_vars
before_filter {|c| c.front_end_available(@app_title)}
- layout :false
+ layout "module_widget"
def setup_vars
@app_title = request.fullpath.split('/')[2]
diff --git a/app/controllers/pages_controller.rb b/app/controllers/pages_controller.rb
index b781f202..45299450 100644
--- a/app/controllers/pages_controller.rb
+++ b/app/controllers/pages_controller.rb
@@ -19,7 +19,7 @@ class PagesController < ApplicationController
if @item && @item.is_published && (@item.enabled_for.nil? ? true : @item.enabled_for.include?(I18n.locale.to_s))
case @item._type
when 'Page'
- render_page(params)
+ render_page
when 'Link'
redirect_to "http://#{@item[:url]}"
end
@@ -32,17 +32,19 @@ class PagesController < ApplicationController
end
def index_from_link
- if params[:page]
- redirect_to "/#{@item.path}?page=#{params[:page]}&category_id=#{params[:category_id]}&tag_id=#{params[:tag_id]}"
- else
- redirect_to "/#{@item.path}?category_id=#{params[:category_id]}&tag_id=#{params[:tag_id]}"
- end
+ url = "/#{@item.path}"
+ options = ''
+ options << "?page_main=#{params[:page_main]}" unless params[:page_main].blank?
+ options << "#{options.blank? ? '?' : '&'}category_id=#{params[:category_id]}" unless params[:category_id].blank?
+ options << "#{options.blank? ? '?' : '&'}tag_id=#{params[:tag_id]}" unless params[:tag_id].blank?
+ redirect_to url + options
end
def show_from_link
- # debugger
- # a=1
- redirect_to "/#{@item.path}?id=#{params[:id]}&preview=#{params[:preview]}"
+ url = "/#{@item.path}?id=#{params[:id]}"
+ options = ''
+ options << "&preview=#{params[:preview]}" unless params[:preview].blank?
+ redirect_to url + options
end
def load_orbit_bar
diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb
index 37c2d0d2..32800d80 100644
--- a/app/helpers/application_helper.rb
+++ b/app/helpers/application_helper.rb
@@ -89,11 +89,7 @@ module ApplicationHelper
def active_for_action(controller_name, action_name)
((controller.controller_name.eql?(controller_name) || request.fullpath.eql?(controller_name)) && controller.action_name.eql?(action_name)) ? 'active' : nil
end
-
- def process_page(page, id, params)
- parse_page_noko(page, id, params)
- end
-
+
def page_metas(page)
tmp_meta = {}
metas = ''
diff --git a/app/models/page_part.rb b/app/models/page_part.rb
index 8bb1bc72..52eafdf3 100644
--- a/app/models/page_part.rb
+++ b/app/models/page_part.rb
@@ -11,9 +11,27 @@ class PagePart
field :public_r_tag_option, :default => nil
field :widget_path
- has_one :i18n_variable, :as => :language_value, :autosave => true, :dependent => :destroy
+ has_one :i18n_variable, :class_name => "I18nVariable", :as => :language_value, :autosave => true, :dependent => :destroy
+ has_one :title, :class_name => "I18nVariable", :as => :language_value, :autosave => true, :dependent => :destroy
belongs_to :page
belongs_to :module_app
+ before_save :set_key
+
+ def i18n_variable
+ @i18n_variable ||= I18nVariable.first(:conditions => {:key => 'i18n_variable', :language_value_id => self.id, :language_value_type => self.class}) rescue nil
+ end
+
+ def title
+ @title ||= I18nVariable.first(:conditions => {:key => 'title', :language_value_id => self.id, :language_value_type => self.class}) rescue nil
+ end
+
+ protected
+
+ def set_key
+ title.key = 'title' if title && (title.key.blank? rescue true)
+ i18n_variable.key = 'i18n_variable' if i18n_variable && (i18n_variable.key.blank? rescue true)
+ end
+
end
\ No newline at end of file
diff --git a/app/views/admin/items/_site_map_left_bar.html.erb b/app/views/admin/items/_site_map_left_bar.html.erb
index b33023b4..8d32365f 100644
--- a/app/views/admin/items/_site_map_left_bar.html.erb
+++ b/app/views/admin/items/_site_map_left_bar.html.erb
@@ -1,25 +1 @@
<%= render_node_and_children(Item.first(:conditions => {:parent_id => nil})) %>
-
-
-
\ No newline at end of file
diff --git a/app/views/admin/page_parts/_edit.html.erb b/app/views/admin/page_parts/_edit.html.erb
index ec99c555..eaee4d8f 100644
--- a/app/views/admin/page_parts/_edit.html.erb
+++ b/app/views/admin/page_parts/_edit.html.erb
@@ -2,7 +2,7 @@
<% LIST[:page_part_kinds].each do |kind| %>
<%= f.radio_button :kind, kind, :class => 'part_kind' %>
- <%= t(kind) %>
+ <%= t(kind, :scope => 'admin.page_part_kinds') %>
<% end %>
<% LIST[:page_part_kinds].each do |kind| %>
diff --git a/app/views/admin/page_parts/_module_widget.html.erb b/app/views/admin/page_parts/_module_widget.html.erb
index 3f81a5ae..1a1dd63c 100644
--- a/app/views/admin/page_parts/_module_widget.html.erb
+++ b/app/views/admin/page_parts/_module_widget.html.erb
@@ -1,3 +1,14 @@
+
+ <%= f.fields_for :title, @part.title do |f| %>
+ <% @site_valid_locales.each do |locale| %>
+
+ <%= f.label :locale, "#{t('admin.title')} #{I18nVariable.from_locale(locale)}" %>
+ <%= f.text_field locale %>
+
+ <% end %>
+<% end %>
+
+
<%= f.select :module_app, options_from_collection_for_select(@module_apps, :id, :title, :selected => @module_app.id), {}, {:rel => admin_page_parts_path} %>
diff --git a/app/views/admin/page_parts/_text.html.erb b/app/views/admin/page_parts/_text.html.erb
index 4193cf50..529773e3 100644
--- a/app/views/admin/page_parts/_text.html.erb
+++ b/app/views/admin/page_parts/_text.html.erb
@@ -8,5 +8,7 @@
<% end %>
diff --git a/app/views/admin/pages/_edit.html.erb b/app/views/admin/pages/_edit.html.erb
index b2da28d0..81d40ed6 100644
--- a/app/views/admin/pages/_edit.html.erb
+++ b/app/views/admin/pages/_edit.html.erb
@@ -2,10 +2,10 @@
<%= t('admin.editing_page') %>
<%= form_for @item, :url => admin_page_path(@item), :html => { :class => 'form-horizontal edit_page' } do |f| %>
- <%= render :partial => "form", :locals => { :f => f } %>
-
- <%= f.submit t('update'), :class => 'btn btn-primary' %>
- <%= link_to t('cancel'), get_go_back, :class=>"btn" %>
-
+ <%= render :partial => "form", :locals => { :f => f } %>
+
+ <%= f.submit t('update'), :class => 'btn btn-primary' %>
+ <%= link_to t('cancel'), get_go_back, :class=>"btn" %>
+
+ <% end %>
-<% end %>
\ No newline at end of file
diff --git a/app/views/admin/pages/_form.html.erb b/app/views/admin/pages/_form.html.erb
index 94632b57..36e6e008 100644
--- a/app/views/admin/pages/_form.html.erb
+++ b/app/views/admin/pages/_form.html.erb
@@ -5,7 +5,7 @@
<%= f.label :name, t('admin.name'), :class => 'control-label' %>
<%= f.text_field :name, :class => 'text input-xlarge' %>
-
In addition to freeform text, any HTML5 text-based input appears like so.
+
@@ -15,7 +15,7 @@
<%= f.label :locale, "#{t('admin.title')} #{I18nVariable.from_locale(locale)}", :class => 'control-label' %>
<%= f.text_field locale, :class => 'text input-xlarge' %>
-
In addition to freeform text, any HTML5 text-based input appears like so.
+
<% end %>
@@ -25,14 +25,14 @@
<%= f.label :name, t('admin.design_name'), :class => 'control-label' %>
<%= f.collection_select :design, @designs, :id, :title, {:selected => @design.id}, {:rel => admin_pages_path} %>
-
In addition to freeform text, any HTML5 text-based input appears like so.
+
<%= f.label :name, t('admin.theme'), :class => 'control-label' %>
<%= f.select :theme_id, @design.themes.collect { |t| [t.name.capitalize, t.id] }, :include_blank => true %>
-
In addition to freeform text, any HTML5 text-based input appears like so.
+
@@ -45,7 +45,7 @@
<%= select('page','category', @categories.collect{|category| [category.i18n_variable[I18n.locale], category.id]}, :selected => @item[:category], :include_blank => true ) rescue ''%>
-
In addition to freeform text, any HTML5 text-based input appears like so.
+
@@ -59,7 +59,7 @@
<%= f.radio_button :is_published, false %>
No
-
In addition to freeform text, any HTML5 text-based input appears like so.
+
@@ -72,7 +72,7 @@
<% end %>
<%= hidden_field_tag 'page[menu_enabled_for][]', '' %>
-
In addition to freeform text, any HTML5 text-based input appears like so.
+
@@ -86,7 +86,7 @@
<% end %>
<%= hidden_field_tag 'page[enabled_for][]', '' %>
- In addition to freeform text, any HTML5 text-based input appears like so.
+
diff --git a/app/views/admin/pages/_new.html.erb b/app/views/admin/pages/_new.html.erb
index a2991bec..d3190e0e 100644
--- a/app/views/admin/pages/_new.html.erb
+++ b/app/views/admin/pages/_new.html.erb
@@ -1,13 +1,11 @@
-<%= t('admin.new_page') %>
-
<%= flash_messages %>
-
-<%= form_for @item, :url => admin_pages_path, :html => { :class => 'form' } do |f| %>
-
- <%= render :partial => "form", :locals => { :f => f } %>
-
-
- <%= f.submit t('create') %> <%= link_back %>
-
-
-<% end %>
\ No newline at end of file
+
+
<%= t('admin.new_page') %>
+ <%= form_for @item, :url => admin_page_path, :html => { :class => 'form-horizontal edit_page' } do |f| %>
+ <%= render :partial => "form", :locals => { :f => f } %>
+
+ <%= f.submit t('update'), :class => 'btn btn-primary' %>
+ <%= link_to t('cancel'), get_go_back, :class=>"btn" %>
+
+ <% end %>
+
\ No newline at end of file
diff --git a/app/views/layouts/module_widget.html.erb b/app/views/layouts/module_widget.html.erb
index 44a2be85..793f7370 100644
--- a/app/views/layouts/module_widget.html.erb
+++ b/app/views/layouts/module_widget.html.erb
@@ -5,7 +5,9 @@
<%= javascript_include_tag "html5" %>
<%#= stylesheet_link_tag "module_widget" %>
- <%= javascript_include_tag "module_widget" %>
+ <%= javascript_include_tag "module" %>
+ <%#= javascript_include_tag "#{@app_title}/module_widget" %>
+ <%= yield :page_specific_javascript %>
<%= csrf_meta_tag %>
diff --git a/config/locales/en.yml b/config/locales/en.yml
index 07bfe189..0d0707cc 100644
--- a/config/locales/en.yml
+++ b/config/locales/en.yml
@@ -200,6 +200,10 @@ en:
options: Options
orig_upload_file: Original filename
page: Page
+ page_part_kinds:
+ text: Text Area
+ public_r_tag: System Widget
+ module_widget: Plug-in Module Widget
position: Position
published?: Published?
purchase: Purchase
diff --git a/config/locales/zh_tw.yml b/config/locales/zh_tw.yml
index ae1b92f3..b4d644c7 100644
--- a/config/locales/zh_tw.yml
+++ b/config/locales/zh_tw.yml
@@ -195,6 +195,10 @@ zh_tw:
options: 選項
orig_upload_file: 原上傳檔名
page: 頁面管理
+ page_part_kinds:
+ text: 文字區塊
+ public_r_tag: 系統模塊
+ module_widget: 外掛模塊
position: 位置
published?: 發布?
purchase: 購買
diff --git a/lib/parsers/parser_back_end.rb b/lib/parsers/parser_back_end.rb
index 03141df2..aed8f36b 100644
--- a/lib/parsers/parser_back_end.rb
+++ b/lib/parsers/parser_back_end.rb
@@ -23,67 +23,19 @@ module ParserBackEnd
# ret << ""
# end
- def parse_page_edit_noko(page, id = nil)
+ def parse_page_edit_noko(page)
body = Nokogiri::HTML(page.design.layout.body)
parse_menu(body, page, true)
- public_r_tags = parse_content_edits(body, page, id)
+ public_r_tags = parse_contents(body, page, true)
parse_images(body, page)
- parse_footer(body, page, true)
- parse_sub_menu(body, page, true)
-
+ parse_footer(body, page)
+ parse_sub_menu(body, page)
public_r_tags.each do |tag|
- send("parse_#{tag}s", body, page, id, true)
+ send("parse_#{tag}s", body, page, true)
end
-
body.to_html
end
- # page_contents
- def parse_content_edits(body, page, id)
- public_r_tags = []
- body.css('.page_content').each do |content|
- ret = ''
- if (content["main"] == "true" && !page.module_app.nil?)
- ret << ""
- else
- part = page.page_parts.detect{ |p| p.name.to_s == content['name'].to_s } rescue nil
- ret << "" if part
- ret << "
'
- case part.kind
- when 'text'
- ret << part.i18n_variable[I18n.locale] rescue ''
- when 'module_widget'
- if !part[:category].blank?
- ret << "
"
- elsif !part[:tag].blank?
- ret << "
"
- else
- ret << "
"
- end
- when 'public_r_tag'
- ret << "
"
- public_r_tags << part.public_r_tag
- else
- ''
- end if part
- end
- scope = "<#{content.name}"
- content.attributes.each_pair do |key, value|
- scope << " #{key}='#{value}'"
- end
- scope << ">#{ret}#{content.name}>"
- fragment = Nokogiri::HTML::DocumentFragment.new(body, scope)
- content.swap(fragment)
- end
- public_r_tags.uniq
- end
-
-
def self.included(base)
base.send :helper_method, :parse_page_edit_noko if base.respond_to? :helper_method
end
diff --git a/lib/parsers/parser_common.rb b/lib/parsers/parser_common.rb
index 59bd85b3..4afa586c 100644
--- a/lib/parsers/parser_common.rb
+++ b/lib/parsers/parser_common.rb
@@ -36,7 +36,7 @@ module ParserCommon
end
# ad_banners
- def parse_ad_banners(body = nil, page = nil, id = nil, edit=nil)
+ def parse_ad_banners(body = nil, page = nil, edit=nil)
body.css('ad_banner').each do |banner|
res = ''
ad_banner = AdBanner.find(banner["id"]) rescue nil
@@ -82,7 +82,7 @@ module ParserCommon
end
# page_images
- def parse_images(body, page, id = nil, edit=nil)
+ def parse_images(body, page, edit=nil)
body.css('.page_image').each do |page_image|
# image = page.custom_images.detect{|image| image.name.eql?(tag.attr['name']) }
# image = page.design.custom_images.detect{|image| image.name.eql?(tag.attr['name']) } unless image
@@ -109,7 +109,7 @@ module ParserCommon
end
# sub_menus
- def parse_sub_menus(body = nil, page = nil, id = nil, edit=nil)
+ def parse_sub_menus(body = nil, page = nil, edit=nil)
body.css('sub_menu').each do |sub_menu|
menu_page = Page.find(sub_menu['id']) rescue nil
res = ''
@@ -132,7 +132,7 @@ module ParserCommon
end
# page_footer
- def parse_footer(body, page, edit=nil)
+ def parse_footer(body, page)
page_footer = body.css('.page_footer').first
if page_footer
res = "
\ No newline at end of file
+
+
+<% content_for :page_specific_javascript do %>
+ <%= javascript_include_tag "announcement_link" %>
+<% end %>
\ No newline at end of file
diff --git a/vendor/built_in_modules/news/config/locales/en.yml b/vendor/built_in_modules/news/config/locales/en.yml
index 557a643b..37f06ea4 100644
--- a/vendor/built_in_modules/news/config/locales/en.yml
+++ b/vendor/built_in_modules/news/config/locales/en.yml
@@ -63,7 +63,7 @@ en:
more: more+
news_bulletins: NewsBulletins
related_links: Related Links
- list_news: List News
+ news: News
news_bulletin:
category: Category
list_lower: " list"
diff --git a/vendor/built_in_modules/news/config/locales/zh_tw.yml b/vendor/built_in_modules/news/config/locales/zh_tw.yml
index afbca2b0..290df5e6 100644
--- a/vendor/built_in_modules/news/config/locales/zh_tw.yml
+++ b/vendor/built_in_modules/news/config/locales/zh_tw.yml
@@ -43,9 +43,9 @@ zh_tw:
sure?: 確定嗎?
campus_news: 校園新聞
more: 更多+
- news_bulletins: 公告訊息
+ news_bulletins: 新聞訊息
related_links: 相關連結
- list_news: 公告列表
+ news: 新聞
news_bulletin:
category: 分類
list_lower: 列表
diff --git a/vendor/built_in_modules/news/news.json b/vendor/built_in_modules/news/news.json
index 74b2bfcc..e1b5c95e 100644
--- a/vendor/built_in_modules/news/news.json
+++ b/vendor/built_in_modules/news/news.json
@@ -7,6 +7,6 @@
"update_info": "Some info",
"create_date": "11-11-2011",
"app_pages": ["news_bulletins"],
- "widgets": ["news_bulletins", "news_bulletins_and_web_links", "home_banner"],
+ "widgets": ["news_bulletins", "home_banner"],
"enable_frontend": true
}
diff --git a/vendor/built_in_modules/web_resource/app/assets/javascripts/web_resource/.gitkeep b/vendor/built_in_modules/web_resource/app/assets/javascripts/web_resource/.gitkeep
deleted file mode 100644
index e69de29b..00000000
diff --git a/vendor/built_in_modules/web_resource/app/controllers/panel/web_resource/front_end/web_links_controller.rb b/vendor/built_in_modules/web_resource/app/controllers/panel/web_resource/front_end/web_links_controller.rb
index 82804979..e605c768 100644
--- a/vendor/built_in_modules/web_resource/app/controllers/panel/web_resource/front_end/web_links_controller.rb
+++ b/vendor/built_in_modules/web_resource/app/controllers/panel/web_resource/front_end/web_links_controller.rb
@@ -12,7 +12,7 @@ class Panel::WebResource::FrontEnd::WebLinksController < OrbitWidgetController
date_now = Time.now
- @web_links = WebLink.where( :is_hidden => false ).desc(:is_top, :name).page( params[:page]).per(20)
+ @web_links = WebLink.where( :is_hidden => false ).desc(:is_top, :name).page(params[:page]).per(10)
get_categorys
end
diff --git a/vendor/built_in_modules/web_resource/app/controllers/panel/web_resource/widget/web_links_controller.rb b/vendor/built_in_modules/web_resource/app/controllers/panel/web_resource/widget/web_links_controller.rb
index ec57451c..504e82e1 100644
--- a/vendor/built_in_modules/web_resource/app/controllers/panel/web_resource/widget/web_links_controller.rb
+++ b/vendor/built_in_modules/web_resource/app/controllers/panel/web_resource/widget/web_links_controller.rb
@@ -25,6 +25,7 @@ class Panel::WebResource::Widget::WebLinksController < OrbitWidgetController
def home_list
+ @title = params[:part_title]
# deadline
diff --git a/vendor/built_in_modules/web_resource/app/views/panel/web_resource/front_end/web_links/index.html.erb b/vendor/built_in_modules/web_resource/app/views/panel/web_resource/front_end/web_links/index.html.erb
index 2c30da53..2c32f800 100644
--- a/vendor/built_in_modules/web_resource/app/views/panel/web_resource/front_end/web_links/index.html.erb
+++ b/vendor/built_in_modules/web_resource/app/views/panel/web_resource/front_end/web_links/index.html.erb
@@ -2,7 +2,7 @@
<%= flash_messages %>
-<%= paginate @web_links %>
+<%= paginate @web_links, :params => {:inner => false}%>
<%= t('web_link.list_web_resource') %>
diff --git a/vendor/built_in_modules/web_resource/app/views/panel/web_resource/front_end/web_links/index.js.erb b/vendor/built_in_modules/web_resource/app/views/panel/web_resource/front_end/web_links/index.js.erb
new file mode 100644
index 00000000..c5efda63
--- /dev/null
+++ b/vendor/built_in_modules/web_resource/app/views/panel/web_resource/front_end/web_links/index.js.erb
@@ -0,0 +1 @@
+alert('bob');
\ No newline at end of file
diff --git a/vendor/built_in_modules/web_resource/app/views/panel/web_resource/widget/web_links/home_list.html.erb b/vendor/built_in_modules/web_resource/app/views/panel/web_resource/widget/web_links/home_list.html.erb
index 5be53041..1f9fd304 100644
--- a/vendor/built_in_modules/web_resource/app/views/panel/web_resource/widget/web_links/home_list.html.erb
+++ b/vendor/built_in_modules/web_resource/app/views/panel/web_resource/widget/web_links/home_list.html.erb
@@ -1,5 +1,7 @@
-
<%= t("announcement.related_links") %>
+ <% if @title %>
+
<%= @title %>
+ <% end %>
<%= render 'web_links' %>
diff --git a/vendor/built_in_modules/web_resource/config/routes.rb b/vendor/built_in_modules/web_resource/config/routes.rb
index fed85983..02c81a82 100644
--- a/vendor/built_in_modules/web_resource/config/routes.rb
+++ b/vendor/built_in_modules/web_resource/config/routes.rb
@@ -13,7 +13,6 @@ Rails.application.routes.draw do
resources :tags
end
namespace :front_end do
- root :to => "web_links#index"
resources :web_links
end
namespace :widget do
diff --git a/vendor/built_in_modules/web_resource/web_resource.json b/vendor/built_in_modules/web_resource/web_resource.json
index c27bf731..f87f06a2 100644
--- a/vendor/built_in_modules/web_resource/web_resource.json
+++ b/vendor/built_in_modules/web_resource/web_resource.json
@@ -7,6 +7,6 @@
"update_info": "Some info",
"create_date": "11-11-2011",
"app_pages": ["web_links"],
- "widgets": ["web_links", "home_list"],
+ "widgets": ["home_list"],
"enable_frontend": true
}