UX: Display site settings shortcut for poll and discourse-nginx-performance-report.

https://meta.discourse.org/t/improving-admin-plugins/84585/29?u=tgxworld
This commit is contained in:
Guo Xiang Tan
2018-05-08 10:30:33 +08:00
parent 2002a7c4ef
commit 8cf0f51eb2
6 changed files with 46 additions and 7 deletions

View File

@ -9,6 +9,8 @@ register_asset "stylesheets/common/poll-ui-builder.scss"
register_asset "stylesheets/desktop/poll.scss", :desktop
register_asset "stylesheets/mobile/poll.scss", :mobile
enabled_site_setting :poll_enabled
PLUGIN_NAME ||= "discourse_poll".freeze
DATA_PREFIX ||= "data-poll-".freeze